#421167#421167

#421167 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.139 H 305.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#421167
RGBrgb(66, 17, 103)
HSLhsl(274, 72%, 24%)
HSVhsv(274, 83%, 40%)
CMYKcmyk(35.9%, 83.5%, 0%, 59.6%)
CIE-LABlab(18.09, 39.08, -39.86)
CIE-LCHlch(18.09, 55.82, 314.43°)
OKLaboklab(31.17% 0.0801 -0.1136)
OKLCHoklch(31.17% 0.139 305.2)
XYZxyz(4.8948, 2.5385, 13.0614)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421167 #366711
analogous
#171167 #421167 #671161
triadic
#421167 #674211 #116742
tetradic
#421167 #671711 #366711 #116167
square
#421167 #671711 #366711 #116167
split-complementary
#421167 #616711 #116717
monochromatic
#11041A #200832 #421167 #641A9C #8522D0

Accessibility & contrast

On white

13.93
#421167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421167
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421167#FFFFFF#000000##FFFFFF
##4211671.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#3B283C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421167;
/* rgb */ color: rgb(66, 17, 103);
/* oklch */ color: oklch(31.2% 0.139 305.2);
Tailwind
colors: {
  custom: {
    50: '#7b5693',
    500: '#421167',
    950: '#000000',
  },
}
SCSS
$custom: #421167;
$custom-light: #7b5693;
$custom-dark: #000000;
JSON
{
  "hex": "#421167",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 274.186,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31168,
    "c": 0.13899,
    "h": 305.2
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#421167
secondary
#629F35
accent
#EE3987
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421167

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

Preview Lab → · Contrast checker → · Palette generator →

#421167 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva