#421567#421567

#421567 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.135 H 304.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#421567
RGBrgb(66, 21, 103)
HSLhsl(273, 66%, 24%)
HSVhsv(273, 80%, 40%)
CMYKcmyk(35.9%, 79.6%, 0%, 59.6%)
CIE-LABlab(18.69, 37.36, -38.89)
CIE-LCHlch(18.69, 53.93, 313.86°)
OKLaboklab(31.59% 0.0764 -0.1107)
OKLCHoklch(31.59% 0.135 304.6)
XYZxyz(4.9626, 2.6739, 13.0840)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421567 #3A6715
analogous
#191567 #421567 #671563
triadic
#421567 #674215 #156742
tetradic
#421567 #671915 #3A6715 #156367
square
#421567 #671915 #3A6715 #156367
split-complementary
#421567 #636715 #156719
monochromatic
#100519 #210B34 #421567 #631F9A #832ACD

Accessibility & contrast

On white

13.68
#421567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#421567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421567
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421567#FFFFFF#000000##FFFFFF
##4215671.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#3B2A3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421567;
/* rgb */ color: rgb(66, 21, 103);
/* oklch */ color: oklch(31.6% 0.135 304.6);
Tailwind
colors: {
  custom: {
    50: '#7b5893',
    500: '#421567',
    950: '#000000',
  },
}
SCSS
$custom: #421567;
$custom-light: #7b5893;
$custom-dark: #000000;
JSON
{
  "hex": "#421567",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 272.927,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.13453,
    "h": 304.6
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#421567
secondary
#679E3A
accent
#E93F8C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421567

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

Preview Lab → · Contrast checker → · Palette generator →

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