#6C39D1#6C39D1

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

Color values

HEX#6C39D1
RGBrgb(108, 57, 209)
HSLhsl(260, 62%, 52%)
HSVhsv(260, 73%, 82%)
CMYKcmyk(48.3%, 72.7%, 0%, 18%)
CIE-LABlab(39.10, 55.64, -70.21)
CIE-LCHlch(39.10, 89.58, 308.40°)
OKLaboklab(49.98% 0.0811 -0.2014)
OKLCHoklch(49.98% 0.217 291.9)
XYZxyz(19.1529, 10.7172, 61.3687)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39D1 #9ED139
analogous
#3952D1 #6C39D1 #B839D1
triadic
#6C39D1 #D16C39 #39D16C
tetradic
#6C39D1 #D13952 #9ED139 #39D1B8
square
#6C39D1 #D13952 #9ED139 #39D1B8
split-complementary
#6C39D1 #D1B839 #52D139
monochromatic
#391B75 #5127A6 #6C39D1 #916BDD #B69CE8

Accessibility & contrast

On white

6.68
#6C39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C39D1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39D1#FFFFFF#000000##FFFFFF
##6C39D11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#4B6182
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c39d1;
/* rgb */ color: rgb(108, 57, 209);
/* oklch */ color: oklch(50.0% 0.217 291.9);
Tailwind
colors: {
  custom: {
    50: '#9f74e0',
    500: '#6c39d1',
    950: '#000000',
  },
}
SCSS
$custom: #6c39d1;
$custom-light: #9f74e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39d1",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 260.132,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.21715,
    "h": 291.9
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#6C39D1
secondary
#BED492
accent
#E542AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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