#6C39CA#6C39CA

#6C39CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.209 H 293.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6C39CA
RGBrgb(108, 57, 202)
HSLhsl(261, 58%, 51%)
HSVhsv(261, 72%, 79%)
CMYKcmyk(46.5%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.51, 53.78, -67.11)
CIE-LCHlch(38.51, 86.00, 308.71°)
OKLaboklab(49.38% 0.0827 -0.1923)
OKLCHoklch(49.38% 0.209 293.3)
XYZxyz(18.3052, 10.3781, 56.9044)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39CA #97CA39
analogous
#394ECA #6C39CA #B439CA
triadic
#6C39CA #CA6C39 #39CA6C
tetradic
#6C39CA #CA394E #97CA39 #39CAB4
square
#6C39CA #CA394E #97CA39 #39CAB4
split-complementary
#6C39CA #CAB439 #4ECA39
monochromatic
#391D6C #522A9C #6C39CA #9069D7 #B49AE4

Accessibility & contrast

On white

6.83
#6C39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6C39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C39CA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39CA#FFFFFF#000000##FFFFFF
##6C39CA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#505F7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c39ca;
/* rgb */ color: rgb(108, 57, 202);
/* oklch */ color: oklch(49.4% 0.209 293.3);
Tailwind
colors: {
  custom: {
    50: '#9e74db',
    500: '#6c39ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c39ca;
$custom-light: #9e74db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39ca",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 261.103,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.20936,
    "h": 293.3
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#6C39CA
secondary
#B9D08F
accent
#E147AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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