#421B68#421B68

#421B68 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.128 H 303.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#421B68
RGBrgb(66, 27, 104)
HSLhsl(270, 59%, 26%)
HSVhsv(270, 74%, 41%)
CMYKcmyk(36.5%, 74%, 0%, 59.2%)
CIE-LABlab(19.81, 34.69, -37.72)
CIE-LCHlch(19.81, 51.25, 312.61°)
OKLaboklab(32.41% 0.0697 -0.1073)
OKLCHoklch(32.41% 0.128 303)
XYZxyz(5.1368, 2.9416, 13.3912)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B68 #41681B
analogous
#1B1B68 #421B68 #681B67
triadic
#421B68 #68421B #1B6842
tetradic
#421B68 #681B1B #41681B #1B6768
square
#421B68 #681B1B #41681B #1B6768
split-complementary
#421B68 #67681B #1B681B
monochromatic
#0F0618 #230E37 #421B68 #612899 #8034C9

Accessibility & contrast

On white

13.22
#421B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B68
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B68#FFFFFF#000000##FFFFFF
##421B681.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#3A2D3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421b68;
/* rgb */ color: rgb(66, 27, 104);
/* oklch */ color: oklch(32.4% 0.128 303.0);
Tailwind
colors: {
  custom: {
    50: '#7a5b94',
    500: '#421b68',
    950: '#000000',
  },
}
SCSS
$custom: #421b68;
$custom-light: #7a5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#421b68",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 270.39,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32406,
    "c": 0.128,
    "h": 303
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#421B68
secondary
#6F9D42
accent
#E24693
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421B68

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

Preview Lab → · Contrast checker → · Palette generator →

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