#6C239B#6C239B

#6C239B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.184 H 308.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6C239B
RGBrgb(108, 35, 155)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 77%, 61%)
CMYKcmyk(30.3%, 77.4%, 0%, 39.2%)
CIE-LABlab(31.25, 51.97, -51.01)
CIE-LCHlch(31.25, 72.82, 315.53°)
OKLaboklab(43.07% 0.1131 -0.1449)
OKLCHoklch(43.07% 0.184 308)
XYZxyz(12.7005, 6.7570, 31.6391)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C239B #529B23
analogous
#30239B #6C239B #9B238E
triadic
#6C239B #9B6C23 #239B6C
tetradic
#6C239B #9B3023 #529B23 #238E9B
square
#6C239B #9B3023 #529B23 #238E9B
split-complementary
#6C239B #8E9B23 #239B30
monochromatic
#260C37 #491869 #6C239B #8F2ECD #AA5EDB

Accessibility & contrast

On white

8.93
#6C239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C239B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C239B#FFFFFF#000000##FFFFFF
##6C239B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c239b;
/* rgb */ color: rgb(108, 35, 155);
/* oklch */ color: oklch(43.1% 0.184 308.0);
Tailwind
colors: {
  custom: {
    50: '#9b66b9',
    500: '#6c239b',
    950: '#000000',
  },
}
SCSS
$custom: #6c239b;
$custom-light: #9b66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c239b",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 276.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.18383,
    "h": 308
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#6C239B
secondary
#82BF5A
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C239B

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

Preview Lab → · Contrast checker → · Palette generator →

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