#68237C#68237C

#68237C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 317.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#68237C
RGBrgb(104, 35, 124)
HSLhsl(287, 56%, 31%)
HSVhsv(287, 72%, 49%)
CMYKcmyk(16.1%, 71.8%, 0%, 51.4%)
CIE-LABlab(28.38, 44.33, -36.45)
CIE-LCHlch(28.38, 57.39, 320.57°)
OKLaboklab(40.2% 0.1123 -0.1023)
OKLCHoklch(40.2% 0.152 317.7)
XYZxyz(9.9475, 5.6008, 19.6219)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68237C #377C23
analogous
#3B237C #68237C #7C2363
triadic
#68237C #7C6823 #237C68
tetradic
#68237C #7C3B23 #377C23 #23637C
square
#68237C #7C3B23 #377C23 #23637C
split-complementary
#68237C #637C23 #237C3B
monochromatic
#18081D #40164C #68237C #9030AC #B04DCD

Accessibility & contrast

On white

9.91
#68237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#68237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68237C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68237C#FFFFFF#000000##FFFFFF
##68237C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#67344D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68237c;
/* rgb */ color: rgb(104, 35, 124);
/* oklch */ color: oklch(40.2% 0.152 317.7);
Tailwind
colors: {
  custom: {
    50: '#9664a2',
    500: '#68237c',
    950: '#000000',
  },
}
SCSS
$custom: #68237c;
$custom-light: #9664a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68237c",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 286.517,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.402,
    "c": 0.15187,
    "h": 317.7
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#68237C
secondary
#62AF4C
accent
#DF496A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68237C

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

Preview Lab → · Contrast checker → · Palette generator →

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