#6B236A#6B236A

#6B236A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.5% C 0.136 H 328.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6B236A
RGBrgb(107, 35, 106)
HSLhsl(301, 51%, 28%)
HSVhsv(301, 67%, 42%)
CMYKcmyk(0%, 67.3%, 0.9%, 58%)
CIE-LABlab(27.76, 41.49, -25.93)
CIE-LCHlch(27.76, 48.93, 328.00°)
OKLaboklab(39.49% 0.1161 -0.0716)
OKLCHoklch(39.49% 0.136 328.3)
XYZxyz(9.2658, 5.3691, 14.1812)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B236A #236B24
analogous
#48236B #6B236A #6B2346
triadic
#6B236A #6A6B23 #236A6B
tetradic
#6B236A #6B4823 #236B24 #23466B
square
#6B236A #6B4823 #236B24 #23466B
split-complementary
#6B236A #466B23 #236B48
monochromatic
#170817 #3D143C #6B236A #993298 #C246C1

Accessibility & contrast

On white

10.13
#6B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B236A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B236A#FFFFFF#000000##FFFFFF
##6B236A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#354568
Tritanopia (blue-blind)
#6F2C43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b236a;
/* rgb */ color: rgb(107, 35, 106);
/* oklch */ color: oklch(39.5% 0.136 328.3);
Tailwind
colors: {
  custom: {
    50: '#986495',
    500: '#6b236a',
    950: '#000000',
  },
}
SCSS
$custom: #6b236a;
$custom-light: #986495;
$custom-dark: #000000;
JSON
{
  "hex": "#6b236a",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 300.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.13637,
    "h": 328.3
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#6B236A
secondary
#4B9E4D
accent
#DA504E
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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