#421E6F#421E6F

#421E6F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.132 H 299.5°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#421E6F
RGBrgb(66, 30, 111)
HSLhsl(267, 57%, 28%)
HSVhsv(267, 73%, 44%)
CMYKcmyk(40.5%, 73%, 0%, 56.5%)
CIE-LABlab(20.96, 35.02, -40.40)
CIE-LCHlch(20.96, 53.47, 310.91°)
OKLaboklab(33.41% 0.0651 -0.1152)
OKLCHoklch(33.41% 0.132 299.5)
XYZxyz(5.5796, 3.2344, 15.3662)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E6F #4B6F1E
analogous
#1E226F #421E6F #6B1E6F
triadic
#421E6F #6F421E #1E6F42
tetradic
#421E6F #6F1E22 #4B6F1E #1E6F6B
square
#421E6F #6F1E22 #4B6F1E #1E6F6B
split-complementary
#421E6F #6F6B1E #226F1E
monochromatic
#0E0718 #25113F #421E6F #5F2B9F #7C3DCB

Accessibility & contrast

On white

12.75
#421E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E6F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E6F#FFFFFF#000000##FFFFFF
##421E6F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#383144
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421e6f;
/* rgb */ color: rgb(66, 30, 111);
/* oklch */ color: oklch(33.4% 0.132 299.5);
Tailwind
colors: {
  custom: {
    50: '#7b5d99',
    500: '#421e6f',
    950: '#000000',
  },
}
SCSS
$custom: #421e6f;
$custom-light: #7b5d99;
$custom-dark: #000000;
JSON
{
  "hex": "#421e6f",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 266.667,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33409,
    "c": 0.13236,
    "h": 299.5
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#421E6F
secondary
#7AA346
accent
#E1479C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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