#421C6E#421C6E

#421C6E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.134 H 300.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#421C6E
RGBrgb(66, 28, 110)
HSLhsl(268, 59%, 27%)
HSVhsv(268, 75%, 43%)
CMYKcmyk(40%, 74.5%, 0%, 56.9%)
CIE-LABlab(20.50, 35.80, -40.51)
CIE-LCHlch(20.50, 54.06, 311.47°)
OKLaboklab(33.05% 0.0675 -0.1155)
OKLCHoklch(33.05% 0.134 300.3)
XYZxyz(5.4758, 3.1145, 15.0615)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C6E #486E1C
analogous
#1C1F6E #421C6E #6B1C6E
triadic
#421C6E #6E421C #1C6E42
tetradic
#421C6E #6E1C1F #486E1C #1C6E6B
square
#421C6E #6E1C1F #486E1C #1C6E6B
split-complementary
#421C6E #6E6B1C #1F6E1C
monochromatic
#0F0618 #25103D #421C6E #5F289F #7D38CC

Accessibility & contrast

On white

12.94
#421C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C6E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C6E#FFFFFF#000000##FFFFFF
##421C6E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#383043
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421c6e;
/* rgb */ color: rgb(66, 28, 110);
/* oklch */ color: oklch(33.1% 0.134 300.3);
Tailwind
colors: {
  custom: {
    50: '#7b5c98',
    500: '#421c6e',
    950: '#000000',
  },
}
SCSS
$custom: #421c6e;
$custom-light: #7b5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#421c6e",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 267.805,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33053,
    "c": 0.13381,
    "h": 300.3
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#421C6E
secondary
#76A343
accent
#E3459A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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