#6B39D2#6B39D2

#6B39D2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.218 H 291.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6B39D2
RGBrgb(107, 57, 210)
HSLhsl(260, 63%, 52%)
HSVhsv(260, 73%, 82%)
CMYKcmyk(49%, 72.9%, 0%, 17.6%)
CIE-LABlab(39.08, 55.75, -70.82)
CIE-LCHlch(39.08, 90.13, 308.21°)
OKLaboklab(49.97% 0.0795 -0.2033)
OKLCHoklch(49.97% 0.218 291.4)
XYZxyz(19.1561, 10.7045, 62.0171)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39D2 #A0D239
analogous
#3953D2 #6B39D2 #B839D2
triadic
#6B39D2 #D26B39 #39D26B
tetradic
#6B39D2 #D23953 #A0D239 #39D2B8
square
#6B39D2 #D23953 #A0D239 #39D2B8
split-complementary
#6B39D2 #D2B839 #53D239
monochromatic
#391B76 #5026A8 #6B39D2 #906BDD #B69DE9

Accessibility & contrast

On white

6.69
#6B39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6B39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39D2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39D2#FFFFFF#000000##FFFFFF
##6B39D21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#496282
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b39d2;
/* rgb */ color: rgb(107, 57, 210);
/* oklch */ color: oklch(50.0% 0.218 291.4);
Tailwind
colors: {
  custom: {
    50: '#9f74e1',
    500: '#6b39d2',
    950: '#000000',
  },
}
SCSS
$custom: #6b39d2;
$custom-light: #9f74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39d2",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 259.608,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.21826,
    "h": 291.4
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#6B39D2
secondary
#BFD592
accent
#E642B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6B39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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