#6C236A#6C236A

#6C236A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.137 H 328.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6C236A
RGBrgb(108, 35, 106)
HSLhsl(302, 51%, 28%)
HSVhsv(302, 68%, 42%)
CMYKcmyk(0%, 67.6%, 1.9%, 57.6%)
CIE-LABlab(27.93, 41.76, -25.65)
CIE-LCHlch(27.93, 49.01, 328.44°)
OKLaboklab(39.65% 0.1173 -0.0707)
OKLCHoklch(39.65% 0.137 328.9)
XYZxyz(9.3868, 5.4315, 14.1868)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C236A #236C25
analogous
#49236C #6C236A #6C2345
triadic
#6C236A #6A6C23 #236A6C
tetradic
#6C236A #6C4923 #236C25 #23456C
square
#6C236A #6C4923 #236C25 #23456C
split-complementary
#6C236A #456C23 #236C49
monochromatic
#170717 #3E143D #6C236A #9A3297 #C346C0

Accessibility & contrast

On white

10.07
#6C236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6C236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C236A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C236A#FFFFFF#000000##FFFFFF
##6C236A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#364568
Tritanopia (blue-blind)
#702C43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c236a;
/* rgb */ color: rgb(108, 35, 106);
/* oklch */ color: oklch(39.6% 0.137 328.9);
Tailwind
colors: {
  custom: {
    50: '#996495',
    500: '#6c236a',
    950: '#000000',
  },
}
SCSS
$custom: #6c236a;
$custom-light: #996495;
$custom-dark: #000000;
JSON
{
  "hex": "#6c236a",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 301.644,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3965,
    "c": 0.13696,
    "h": 328.9
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#6C236A
secondary
#4B9F4E
accent
#DB514D
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6C236A

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

Preview Lab → · Contrast checker → · Palette generator →

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