#421253#421253

#421253 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.117 H 315.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#421253
RGBrgb(66, 18, 83)
HSLhsl(284, 64%, 20%)
HSVhsv(284, 78%, 33%)
CMYKcmyk(20.5%, 78.3%, 0%, 67.5%)
CIE-LABlab(16.58, 33.84, -28.96)
CIE-LCHlch(16.58, 44.54, 319.44°)
OKLaboklab(29.58% 0.0834 -0.0815)
OKLCHoklch(29.58% 0.117 315.6)
XYZxyz(4.0242, 2.2155, 8.3976)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421253 #235312
analogous
#221253 #421253 #531243
triadic
#421253 #534212 #125342
tetradic
#421253 #532212 #235312 #124353
square
#421253 #532212 #235312 #124353
split-complementary
#421253 #435312 #125322
monochromatic
#140519 #1A0721 #421253 #6A1D85 #9228B8

Accessibility & contrast

On white

14.55
#421253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#421253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421253
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421253#FFFFFF#000000##FFFFFF
##4212531.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#112A52
Tritanopia (blue-blind)
#412031
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #421253;
/* rgb */ color: rgb(66, 18, 83);
/* oklch */ color: oklch(29.6% 0.117 315.6);
Tailwind
colors: {
  custom: {
    50: '#795584',
    500: '#421253',
    950: '#000000',
  },
}
SCSS
$custom: #421253;
$custom-light: #795584;
$custom-dark: #000000;
JSON
{
  "hex": "#421253",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 284.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29581,
    "c": 0.11662,
    "h": 315.6
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#421253
secondary
#4C8C35
accent
#E7406C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #421253

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

Preview Lab → · Contrast checker → · Palette generator →

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