#6C237A#6C237A

#6C237A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.152 H 320.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6C237A
RGBrgb(108, 35, 122)
HSLhsl(290, 55%, 31%)
HSVhsv(290, 71%, 48%)
CMYKcmyk(11.5%, 71.3%, 0%, 52.2%)
CIE-LABlab(28.89, 44.86, -34.33)
CIE-LCHlch(28.89, 56.49, 322.57°)
OKLaboklab(40.65% 0.1175 -0.096)
OKLCHoklch(40.65% 0.152 320.8)
XYZxyz(10.2978, 5.7959, 18.9849)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C237A #317A23
analogous
#40237A #6C237A #7A235C
triadic
#6C237A #7A6C23 #237A6C
tetradic
#6C237A #7A4023 #317A23 #235C7A
square
#6C237A #7A4023 #317A23 #235C7A
split-complementary
#6C237A #5C7A23 #237A40
monochromatic
#18081B #42154A #6C237A #9631AA #B74CCC

Accessibility & contrast

On white

9.73
#6C237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6C237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C237A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C237A#FFFFFF#000000##FFFFFF
##6C237A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7D
Deuteranopia (green-blind)
#2C4778
Tritanopia (blue-blind)
#6D334C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c237a;
/* rgb */ color: rgb(108, 35, 122);
/* oklch */ color: oklch(40.7% 0.152 320.8);
Tailwind
colors: {
  custom: {
    50: '#9965a1',
    500: '#6c237a',
    950: '#000000',
  },
}
SCSS
$custom: #6c237a;
$custom-light: #9965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c237a",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 290.345,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40653,
    "c": 0.15174,
    "h": 320.8
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#6C237A
secondary
#5CAD4C
accent
#DF4961
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6C237A

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

Preview Lab → · Contrast checker → · Palette generator →

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