#421B6E#421B6E

#421B6E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.135 H 300.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#421B6E
RGBrgb(66, 27, 110)
HSLhsl(268, 61%, 27%)
HSVhsv(268, 75%, 43%)
CMYKcmyk(40%, 75.5%, 0%, 56.9%)
CIE-LABlab(20.31, 36.31, -40.81)
CIE-LCHlch(20.31, 54.62, 311.66°)
OKLaboklab(32.92% 0.0686 -0.1164)
OKLCHoklch(32.92% 0.135 300.5)
XYZxyz(5.4525, 3.0679, 15.0537)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B6E #476E1B
analogous
#1B1D6E #421B6E #6C1B6E
triadic
#421B6E #6E421B #1B6E42
tetradic
#421B6E #6E1B1D #476E1B #1B6E6C
square
#421B6E #6E1B1D #476E1B #1B6E6C
split-complementary
#421B6E #6E6C1B #1D6E1B
monochromatic
#0F0619 #250F3D #421B6E #5F279F #7D36CE

Accessibility & contrast

On white

13.01
#421B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B6E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B6E#FFFFFF#000000##FFFFFF
##421B6E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#382F42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421b6e;
/* rgb */ color: rgb(66, 27, 110);
/* oklch */ color: oklch(32.9% 0.135 300.5);
Tailwind
colors: {
  custom: {
    50: '#7b5b98',
    500: '#421b6e',
    950: '#000000',
  },
}
SCSS
$custom: #421b6e;
$custom-light: #7b5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#421b6e",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 268.193,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.13511,
    "h": 300.5
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#421B6E
secondary
#75A342
accent
#E44499
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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