#68227C#68227C

#68227C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.153 H 317.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#68227C
RGBrgb(104, 34, 124)
HSLhsl(287, 57%, 31%)
HSVhsv(287, 73%, 49%)
CMYKcmyk(16.1%, 72.6%, 0%, 51.4%)
CIE-LABlab(28.23, 44.76, -36.69)
CIE-LCHlch(28.23, 57.88, 320.66°)
OKLaboklab(40.09% 0.1134 -0.103)
OKLCHoklch(40.09% 0.153 317.7)
XYZxyz(9.9185, 5.5428, 19.6123)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68227C #367C22
analogous
#3B227C #68227C #7C2263
triadic
#68227C #7C6822 #227C68
tetradic
#68227C #7C3B22 #367C22 #22637C
square
#68227C #7C3B22 #367C22 #22637C
split-complementary
#68227C #637C22 #227C3B
monochromatic
#17081C #40154C #68227C #902FAC #B14BCE

Accessibility & contrast

On white

9.96
#68227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#68227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68227C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68227C#FFFFFF#000000##FFFFFF
##68227C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#67344C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68227c;
/* rgb */ color: rgb(104, 34, 124);
/* oklch */ color: oklch(40.1% 0.153 317.7);
Tailwind
colors: {
  custom: {
    50: '#9664a2',
    500: '#68227c',
    950: '#000000',
  },
}
SCSS
$custom: #68227c;
$custom-light: #9664a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68227c",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 286.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4009,
    "c": 0.15319,
    "h": 317.7
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#68227C
secondary
#61AF4B
accent
#E04869
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68227C

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

Preview Lab → · Contrast checker → · Palette generator →

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