#421F6C#421F6C

#421F6C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.127 H 300.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#421F6C
RGBrgb(66, 31, 108)
HSLhsl(267, 55%, 27%)
HSVhsv(267, 71%, 42%)
CMYKcmyk(38.9%, 71.3%, 0%, 57.6%)
CIE-LABlab(20.91, 33.64, -38.54)
CIE-LCHlch(20.91, 51.16, 311.11°)
OKLaboklab(33.29% 0.0644 -0.1098)
OKLCHoklch(33.29% 0.127 300.4)
XYZxyz(5.4429, 3.2209, 14.5194)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F6C #496C1F
analogous
#1F226C #421F6C #691F6C
triadic
#421F6C #6C421F #1F6C42
tetradic
#421F6C #6C1F22 #496C1F #1F6C69
square
#421F6C #6C1F22 #496C1F #1F6C69
split-complementary
#421F6C #6C691F #226C1F
monochromatic
#0F0718 #25113C #421F6C #5F2D9C #7C3EC8

Accessibility & contrast

On white

12.77
#421F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F6C
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F6C#FFFFFF#000000##FFFFFF
##421F6C1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#393143
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421f6c;
/* rgb */ color: rgb(66, 31, 108);
/* oklch */ color: oklch(33.3% 0.127 300.4);
Tailwind
colors: {
  custom: {
    50: '#7a5d97',
    500: '#421f6c',
    950: '#000000',
  },
}
SCSS
$custom: #421f6c;
$custom-light: #7a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#421f6c",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 267.273,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33294,
    "c": 0.12729,
    "h": 300.4
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#421F6C
secondary
#77A047
accent
#DF499B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421F6C

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

Preview Lab → · Contrast checker → · Palette generator →

#421F6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva