#6C239C#6C239C

#6C239C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.185 H 307.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6C239C
RGBrgb(108, 35, 156)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 78%, 61%)
CMYKcmyk(30.8%, 77.6%, 0%, 38.8%)
CIE-LABlab(31.33, 52.20, -51.49)
CIE-LCHlch(31.33, 73.32, 315.39°)
OKLaboklab(43.15% 0.1129 -0.1463)
OKLCHoklch(43.15% 0.185 307.7)
XYZxyz(12.7849, 6.7907, 32.0833)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C239C #539C23
analogous
#2F239C #6C239C #9C2390
triadic
#6C239C #9C6C23 #239C6C
tetradic
#6C239C #9C2F23 #539C23 #23909C
square
#6C239C #9C2F23 #539C23 #23909C
split-complementary
#6C239C #909C23 #239C2F
monochromatic
#270D38 #49186A #6C239C #8F2ECE #AA5EDB

Accessibility & contrast

On white

8.91
#6C239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6C239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C239C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C239C#FFFFFF#000000##FFFFFF
##6C239C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#64415F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c239c;
/* rgb */ color: rgb(108, 35, 156);
/* oklch */ color: oklch(43.2% 0.185 307.7);
Tailwind
colors: {
  custom: {
    50: '#9b66ba',
    500: '#6c239c',
    950: '#000000',
  },
}
SCSS
$custom: #6c239c;
$custom-light: #9b66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c239c",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 276.198,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.18481,
    "h": 307.7
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#6C239C
secondary
#83C05B
accent
#E64183
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C239C

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

Preview Lab → · Contrast checker → · Palette generator →

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