#421865#421865

#421865 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.129 H 305.0°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#421865
RGBrgb(66, 24, 101)
HSLhsl(273, 62%, 25%)
HSVhsv(273, 76%, 40%)
CMYKcmyk(34.7%, 76.2%, 0%, 60.4%)
CIE-LABlab(19.02, 35.42, -37.04)
CIE-LCHlch(19.02, 51.25, 313.73°)
OKLaboklab(31.77% 0.0736 -0.1053)
OKLCHoklch(31.77% 0.129 305)
XYZxyz(4.9218, 2.7511, 12.5811)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421865 #3B6518
analogous
#1B1865 #421865 #651862
triadic
#421865 #654218 #186542
tetradic
#421865 #651B18 #3B6518 #186265
square
#421865 #651B18 #3B6518 #186265
split-complementary
#421865 #626518 #18651B
monochromatic
#100619 #220C34 #421865 #622496 #8330C8

Accessibility & contrast

On white

13.55
#421865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421865
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421865#FFFFFF#000000##FFFFFF
##4218651.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#3B2A3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421865;
/* rgb */ color: rgb(66, 24, 101);
/* oklch */ color: oklch(31.8% 0.129 305.0);
Tailwind
colors: {
  custom: {
    50: '#7a5991',
    500: '#421865',
    950: '#000000',
  },
}
SCSS
$custom: #421865;
$custom-light: #7a5991;
$custom-dark: #000000;
JSON
{
  "hex": "#421865",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 272.727,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31766,
    "c": 0.12852,
    "h": 305
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#421865
secondary
#689B3E
accent
#E5438D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421865

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

Preview Lab → · Contrast checker → · Palette generator →

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