#67227F#67227F

#67227F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.156 H 315.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#67227F
RGBrgb(103, 34, 127)
HSLhsl(285, 58%, 32%)
HSVhsv(285, 73%, 50%)
CMYKcmyk(18.9%, 73.2%, 0%, 50.2%)
CIE-LABlab(28.27, 45.17, -38.52)
CIE-LCHlch(28.27, 59.36, 319.54°)
OKLaboklab(40.16% 0.1118 -0.1084)
OKLCHoklch(40.16% 0.156 315.9)
XYZxyz(9.9957, 5.5603, 20.6213)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#67227F #3A7F22
analogous
#39227F #67227F #7F2269
triadic
#67227F #7F6722 #227F67
tetradic
#67227F #7F3922 #3A7F22 #22697F
square
#67227F #7F3922 #3A7F22 #22697F
split-complementary
#67227F #697F22 #227F39
monochromatic
#19081E #40154F #67227F #8E2FAF #AD4CCF

Accessibility & contrast

On white

9.94
#67227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#67227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #67227F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##67227F#FFFFFF#000000##FFFFFF
##67227F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#65354E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #67227f;
/* rgb */ color: rgb(103, 34, 127);
/* oklch */ color: oklch(40.2% 0.156 315.9);
Tailwind
colors: {
  custom: {
    50: '#9664a5',
    500: '#67227f',
    950: '#000000',
  },
}
SCSS
$custom: #67227f;
$custom-light: #9664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#67227f",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 284.516,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.15571,
    "h": 315.9
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#67227F
secondary
#66B24B
accent
#E1476F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #67227F

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

Preview Lab → · Contrast checker → · Palette generator →

#67227F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva