#68236D#68236D

#68236D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.137 H 325.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#68236D
RGBrgb(104, 35, 109)
HSLhsl(296, 51%, 28%)
HSVhsv(296, 68%, 43%)
CMYKcmyk(4.6%, 67.9%, 0%, 57.3%)
CIE-LABlab(27.43, 41.27, -28.41)
CIE-LCHlch(27.43, 50.10, 325.46°)
OKLaboklab(39.21% 0.1125 -0.0788)
OKLCHoklch(39.21% 0.137 325)
XYZxyz(9.0701, 5.2498, 15.0006)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68236D #286D23
analogous
#43236D #68236D #6D234D
triadic
#68236D #6D6823 #236D68
tetradic
#68236D #6D4323 #286D23 #234D6D
square
#68236D #6D4323 #286D23 #234D6D
split-complementary
#68236D #4D6D23 #236D43
monochromatic
#160717 #3C143F #68236D #94329B #BB47C4

Accessibility & contrast

On white

10.24
#68236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#68236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68236D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68236D#FFFFFF#000000##FFFFFF
##68236D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6F
Deuteranopia (green-blind)
#31446B
Tritanopia (blue-blind)
#6A2E45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68236d;
/* rgb */ color: rgb(104, 35, 109);
/* oklch */ color: oklch(39.2% 0.137 325.0);
Tailwind
colors: {
  custom: {
    50: '#966497',
    500: '#68236d',
    950: '#000000',
  },
}
SCSS
$custom: #68236d;
$custom-light: #966497;
$custom-dark: #000000;
JSON
{
  "hex": "#68236d",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 295.946,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.1374,
    "h": 325
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#68236D
secondary
#51A04B
accent
#DB4D57
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #68236D

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

Preview Lab → · Contrast checker → · Palette generator →

#68236D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva