#68237E#68237E

#68237E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.154 H 316.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#68237E
RGBrgb(104, 35, 126)
HSLhsl(285, 57%, 32%)
HSVhsv(285, 72%, 49%)
CMYKcmyk(17.5%, 72.2%, 0%, 50.6%)
CIE-LABlab(28.52, 44.75, -37.49)
CIE-LCHlch(28.52, 58.38, 320.04°)
OKLaboklab(40.34% 0.1121 -0.1054)
OKLCHoklch(40.34% 0.154 316.8)
XYZxyz(10.0753, 5.6519, 20.2948)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68237E #397E23
analogous
#3B237E #68237E #7E2367
triadic
#68237E #7E6823 #237E68
tetradic
#68237E #7E3B23 #397E23 #23677E
square
#68237E #7E3B23 #397E23 #23677E
split-complementary
#68237E #677E23 #237E3B
monochromatic
#19081E #40164E #68237E #9030AE #AF4ECE

Accessibility & contrast

On white

9.86
#68237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68237E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68237E#FFFFFF#000000##FFFFFF
##68237E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#67354E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68237e;
/* rgb */ color: rgb(104, 35, 126);
/* oklch */ color: oklch(40.3% 0.154 316.8);
Tailwind
colors: {
  custom: {
    50: '#9664a4',
    500: '#68237e',
    950: '#000000',
  },
}
SCSS
$custom: #68237e;
$custom-light: #9664a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68237e",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 285.495,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.15384,
    "h": 316.8
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#68237E
secondary
#65B04C
accent
#E0486D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68237E

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

Preview Lab → · Contrast checker → · Palette generator →

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