#6C39C2#6C39C2

#6C39C2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.200 H 294.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6C39C2
RGBrgb(108, 57, 194)
HSLhsl(262, 55%, 49%)
HSVhsv(262, 71%, 76%)
CMYKcmyk(44.3%, 70.6%, 0%, 23.9%)
CIE-LABlab(37.86, 51.66, -63.52)
CIE-LCHlch(37.86, 81.87, 309.12°)
OKLaboklab(48.72% 0.0843 -0.1818)
OKLCHoklch(48.72% 0.2 294.9)
XYZxyz(17.3825, 10.0090, 52.0446)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39C2 #8FC239
analogous
#394AC2 #6C39C2 #B139C2
triadic
#6C39C2 #C26C39 #39C26C
tetradic
#6C39C2 #C2394A #8FC239 #39C2B1
square
#6C39C2 #C2394A #8FC239 #39C2B1
split-complementary
#6C39C2 #C2B139 #4AC239
monochromatic
#371D63 #522B93 #6C39C2 #8E66D2 #B195E0

Accessibility & contrast

On white

7.00
#6C39C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6C39C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C39C2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39C2#FFFFFF#000000##FFFFFF
##6C39C21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#545C7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c39c2;
/* rgb */ color: rgb(108, 57, 194);
/* oklch */ color: oklch(48.7% 0.200 294.9);
Tailwind
colors: {
  custom: {
    50: '#9d74d5',
    500: '#6c39c2',
    950: '#000000',
  },
}
SCSS
$custom: #6c39c2;
$custom-light: #9d74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39c2",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 262.336,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48717,
    "c": 0.20036,
    "h": 294.9
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#6C39C2
secondary
#B4CB8B
accent
#DE4AA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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