#6C239E#6C239E

#6C239E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.187 H 307.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C239E
RGBrgb(108, 35, 158)
HSLhsl(276, 64%, 38%)
HSVhsv(276, 78%, 62%)
CMYKcmyk(31.6%, 77.8%, 0%, 38%)
CIE-LABlab(31.48, 52.65, -52.45)
CIE-LCHlch(31.48, 74.32, 315.11°)
OKLaboklab(43.31% 0.1125 -0.1491)
OKLCHoklch(43.31% 0.187 307)
XYZxyz(12.9556, 6.8590, 32.9825)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C239E #559E23
analogous
#2E239E #6C239E #9E2392
triadic
#6C239E #9E6C23 #239E6C
tetradic
#6C239E #9E2E23 #559E23 #23929E
square
#6C239E #9E2E23 #559E23 #23929E
split-complementary
#6C239E #929E23 #239E2E
monochromatic
#280D3A #4A186C #6C239E #8E2ED0 #A960DC

Accessibility & contrast

On white

8.85
#6C239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C239E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C239E#FFFFFF#000000##FFFFFF
##6C239E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#634260
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c239e;
/* rgb */ color: rgb(108, 35, 158);
/* oklch */ color: oklch(43.3% 0.187 307.0);
Tailwind
colors: {
  custom: {
    50: '#9b66bb',
    500: '#6c239e',
    950: '#000000',
  },
}
SCSS
$custom: #6c239e;
$custom-light: #9b66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c239e",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 275.61,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.18678,
    "h": 307
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#6C239E
secondary
#85C15C
accent
#E74184
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C239E

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

Preview Lab → · Contrast checker → · Palette generator →

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