#6C39CD#6C39CD

#6C39CD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.213 H 292.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6C39CD
RGBrgb(108, 57, 205)
HSLhsl(261, 60%, 51%)
HSVhsv(261, 72%, 80%)
CMYKcmyk(47.3%, 72.2%, 0%, 19.6%)
CIE-LABlab(38.76, 54.57, -68.44)
CIE-LCHlch(38.76, 87.54, 308.57°)
OKLaboklab(49.64% 0.082 -0.1963)
OKLCHoklch(49.64% 0.213 292.7)
XYZxyz(18.6638, 10.5215, 58.7933)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39CD #9ACD39
analogous
#3950CD #6C39CD #B639CD
triadic
#6C39CD #CD6C39 #39CD6C
tetradic
#6C39CD #CD3950 #9ACD39 #39CDB6
square
#6C39CD #CD3950 #9ACD39 #39CDB6
split-complementary
#6C39CD #CDB639 #50CD39
monochromatic
#391C6F #5228A0 #6C39CD #906AD9 #B59BE6

Accessibility & contrast

On white

6.76
#6C39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6C39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C39CD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39CD#FFFFFF#000000##FFFFFF
##6C39CD1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#4E6080
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c39cd;
/* rgb */ color: rgb(108, 57, 205);
/* oklch */ color: oklch(49.6% 0.213 292.7);
Tailwind
colors: {
  custom: {
    50: '#9f74dd',
    500: '#6c39cd',
    950: '#000000',
  },
}
SCSS
$custom: #6c39cd;
$custom-light: #9f74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39cd",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 260.676,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.21271,
    "h": 292.7
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#6C39CD
secondary
#BBD290
accent
#E345AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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