#6B236D#6B236D

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

Color values

HEX#6B236D
RGBrgb(107, 35, 109)
HSLhsl(298, 51%, 28%)
HSVhsv(298, 68%, 43%)
CMYKcmyk(1.8%, 67.9%, 0%, 57.3%)
CIE-LABlab(27.93, 42.06, -27.59)
CIE-LCHlch(27.93, 50.30, 326.74°)
OKLaboklab(39.67% 0.1163 -0.0764)
OKLCHoklch(39.67% 0.139 326.7)
XYZxyz(9.4246, 5.4326, 15.0172)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B236D #256D23
analogous
#46236D #6B236D #6D234A
triadic
#6B236D #6D6B23 #236D6B
tetradic
#6B236D #6D4623 #256D23 #234A6D
square
#6B236D #6D4623 #256D23 #234A6D
split-complementary
#6B236D #4A6D23 #236D46
monochromatic
#170717 #3E143F #6B236D #98329B #C047C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B236D#FFFFFF#000000##FFFFFF
##6B236D1.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)
#173C6F
Deuteranopia (green-blind)
#33456B
Tritanopia (blue-blind)
#6E2D45
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b236d;
/* rgb */ color: rgb(107, 35, 109);
/* oklch */ color: oklch(39.7% 0.139 326.7);
Tailwind
colors: {
  custom: {
    50: '#986497',
    500: '#6b236d',
    950: '#000000',
  },
}
SCSS
$custom: #6b236d;
$custom-light: #986497;
$custom-dark: #000000;
JSON
{
  "hex": "#6b236d",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 298.378,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.13909,
    "h": 326.7
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#6B236D
secondary
#4EA04B
accent
#DB4D51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B236D

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

Preview Lab → · Contrast checker → · Palette generator →

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