#68237D#68237D

#68237D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.153 H 317.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#68237D
RGBrgb(104, 35, 125)
HSLhsl(286, 56%, 31%)
HSVhsv(286, 72%, 49%)
CMYKcmyk(16.8%, 72%, 0%, 51%)
CIE-LABlab(28.45, 44.54, -36.97)
CIE-LCHlch(28.45, 57.88, 320.30°)
OKLaboklab(40.27% 0.1122 -0.1038)
OKLCHoklch(40.27% 0.153 317.2)
XYZxyz(10.0111, 5.6262, 19.9567)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68237D #387D23
analogous
#3B237D #68237D #7D2365
triadic
#68237D #7D6823 #237D68
tetradic
#68237D #7D3B23 #387D23 #23657D
square
#68237D #7D3B23 #387D23 #23657D
split-complementary
#68237D #657D23 #237D3B
monochromatic
#18081D #40164D #68237D #9030AD #AF4DCD

Accessibility & contrast

On white

9.88
#68237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#68237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68237D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68237D#FFFFFF#000000##FFFFFF
##68237D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#67354D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68237d;
/* rgb */ color: rgb(104, 35, 125);
/* oklch */ color: oklch(40.3% 0.153 317.2);
Tailwind
colors: {
  custom: {
    50: '#9664a3',
    500: '#68237d',
    950: '#000000',
  },
}
SCSS
$custom: #68237d;
$custom-light: #9664a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68237d",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 286,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.15286,
    "h": 317.2
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#68237D
secondary
#63AF4C
accent
#E0486C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68237D

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

Preview Lab → · Contrast checker → · Palette generator →

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