#6C239A#6C239A

#6C239A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.183 H 308.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6C239A
RGBrgb(108, 35, 154)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 77%, 60%)
CMYKcmyk(29.9%, 77.3%, 0%, 39.6%)
CIE-LABlab(31.17, 51.74, -50.53)
CIE-LCHlch(31.17, 72.32, 315.68°)
OKLaboklab(42.99% 0.1133 -0.1435)
OKLCHoklch(42.99% 0.183 308.3)
XYZxyz(12.6169, 6.7235, 31.1987)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C239A #519A23
analogous
#31239A #6C239A #9A238D
triadic
#6C239A #9A6C23 #239A6C
tetradic
#6C239A #9A3123 #519A23 #238D9A
square
#6C239A #9A3123 #519A23 #238D9A
split-complementary
#6C239A #8D9A23 #239A31
monochromatic
#260C36 #491868 #6C239A #8F2ECC #AA5DDA

Accessibility & contrast

On white

8.96
#6C239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C239A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C239A#FFFFFF#000000##FFFFFF
##6C239A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#65405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c239a;
/* rgb */ color: rgb(108, 35, 154);
/* oklch */ color: oklch(43.0% 0.183 308.3);
Tailwind
colors: {
  custom: {
    50: '#9b66b9',
    500: '#6c239a',
    950: '#000000',
  },
}
SCSS
$custom: #6c239a;
$custom-light: #9b66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c239a",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 276.807,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42993,
    "c": 0.18285,
    "h": 308.3
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#6C239A
secondary
#81BF5A
accent
#E64281
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C239A

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

Preview Lab → · Contrast checker → · Palette generator →

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