#421081#421081

#421081 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.167 H 295.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#421081
RGBrgb(66, 16, 129)
HSLhsl(267, 78%, 28%)
HSVhsv(267, 88%, 51%)
CMYKcmyk(48.8%, 87.6%, 0%, 49.4%)
CIE-LABlab(20.49, 46.05, -52.69)
CIE-LCHlch(20.49, 69.97, 311.15°)
OKLaboklab(33.6% 0.0717 -0.1512)
OKLCHoklch(33.6% 0.167 295.4)
XYZxyz(6.3934, 3.1136, 21.0288)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421081 #4F8110
analogous
#101681 #421081 #7A1081
triadic
#421081 #814210 #108142
tetradic
#421081 #811016 #4F8110 #10817A
square
#421081 #811016 #4F8110 #10817A
split-complementary
#421081 #817A10 #168110
monochromatic
#0E031B #26094B #421081 #5E17B7 #7B27E4

Accessibility & contrast

On white

12.94
#421081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##421081#FFFFFF#000000##FFFFFF
##4210811.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)
#003284
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#2F334B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421081;
/* rgb */ color: rgb(66, 16, 129);
/* oklch */ color: oklch(33.6% 0.167 295.4);
Tailwind
colors: {
  custom: {
    50: '#7e57a7',
    500: '#421081',
    950: '#000000',
  },
}
SCSS
$custom: #421081;
$custom-light: #7e57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#421081",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 266.549,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33601,
    "c": 0.16731,
    "h": 295.4
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#421081
secondary
#7EB736
accent
#F4339F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421081

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

Preview Lab → · Contrast checker → · Palette generator →

#421081 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva