#421983#421983

#421983 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.162 H 293.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#421983
RGBrgb(66, 25, 131)
HSLhsl(263, 68%, 31%)
HSVhsv(263, 81%, 51%)
CMYKcmyk(49.6%, 80.9%, 0%, 48.6%)
CIE-LABlab(21.92, 43.01, -51.61)
CIE-LCHlch(21.92, 67.19, 309.81°)
OKLaboklab(34.64% 0.0647 -0.1481)
OKLCHoklch(34.64% 0.162 293.6)
XYZxyz(6.6900, 3.4920, 21.7899)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421983 #5A8319
analogous
#192583 #421983 #771983
triadic
#421983 #834219 #198342
tetradic
#421983 #831925 #5A8319 #198377
square
#421983 #831925 #5A8319 #198377
split-complementary
#421983 #837719 #258319
monochromatic
#0E051C #280F50 #421983 #5C23B6 #793DDA

Accessibility & contrast

On white

12.36
#421983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#421983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421983
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421983#FFFFFF#000000##FFFFFF
##4219831.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#2E374E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421983;
/* rgb */ color: rgb(66, 25, 131);
/* oklch */ color: oklch(34.6% 0.162 293.6);
Tailwind
colors: {
  custom: {
    50: '#7e5ba8',
    500: '#421983',
    950: '#000000',
  },
}
SCSS
$custom: #421983;
$custom-light: #7e5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#421983",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 263.208,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.16163,
    "h": 293.6
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#421983
secondary
#89B741
accent
#EB3DA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421983

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

Preview Lab → · Contrast checker → · Palette generator →

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