#6B30B0#6B30B0

#6B30B0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.191 H 299.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6B30B0
RGBrgb(107, 48, 176)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(39.2%, 72.7%, 0%, 31%)
CIE-LABlab(34.75, 51.18, -57.97)
CIE-LCHlch(34.75, 77.33, 311.44°)
OKLaboklab(46.04% 0.095 -0.1655)
OKLCHoklch(46.04% 0.191 299.9)
XYZxyz(14.9549, 8.3741, 41.8944)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30B0 #75B030
analogous
#3035B0 #6B30B0 #AB30B0
triadic
#6B30B0 #B06B30 #30B06B
tetradic
#6B30B0 #B03035 #75B030 #30B0AB
square
#6B30B0 #B03035 #75B030 #30B0AB
split-complementary
#6B30B0 #B0AB30 #35B030
monochromatic
#311650 #4E2380 #6B30B0 #8A4ECF #AA7EDC

Accessibility & contrast

On white

7.85
#6B30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6B30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30B0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30B0#FFFFFF#000000##FFFFFF
##6B30B01.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#5B506D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b30b0;
/* rgb */ color: rgb(107, 48, 176);
/* oklch */ color: oklch(46.0% 0.191 299.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ec8',
    500: '#6b30b0',
    950: '#000000',
  },
}
SCSS
$custom: #6b30b0;
$custom-light: #9b6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30b0",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 267.656,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46035,
    "c": 0.1908,
    "h": 299.9
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#6B30B0
secondary
#A1C577
accent
#E0479A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B30B0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6B30B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva