#6C39D2#6C39D2

#6C39D2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.218 H 291.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6C39D2
RGBrgb(108, 57, 210)
HSLhsl(260, 63%, 52%)
HSVhsv(260, 73%, 82%)
CMYKcmyk(48.6%, 72.9%, 0%, 17.6%)
CIE-LABlab(39.18, 55.90, -70.64)
CIE-LCHlch(39.18, 90.09, 308.35°)
OKLaboklab(50.07% 0.0809 -0.2027)
OKLCHoklch(50.07% 0.218 291.8)
XYZxyz(19.2770, 10.7668, 62.0228)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39D2 #9FD239
analogous
#3953D2 #6C39D2 #B939D2
triadic
#6C39D2 #D26C39 #39D26C
tetradic
#6C39D2 #D23953 #9FD239 #39D2B9
square
#6C39D2 #D23953 #9FD239 #39D2B9
split-complementary
#6C39D2 #D2B939 #53D239
monochromatic
#391B76 #5126A8 #6C39D2 #916BDD #B69DE9

Accessibility & contrast

On white

6.66
#6C39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6C39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C39D2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39D2#FFFFFF#000000##FFFFFF
##6C39D21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#4B6282
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c39d2;
/* rgb */ color: rgb(108, 57, 210);
/* oklch */ color: oklch(50.1% 0.218 291.8);
Tailwind
colors: {
  custom: {
    50: '#9f74e1',
    500: '#6c39d2',
    950: '#000000',
  },
}
SCSS
$custom: #6c39d2;
$custom-light: #9f74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39d2",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 260,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.21826,
    "h": 291.8
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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