#4219B4#4219B4

#4219B4 is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.8% C 0.216 H 282.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#4219B4
RGBrgb(66, 25, 180)
HSLhsl(256, 76%, 40%)
HSVhsv(256, 86%, 71%)
CMYKcmyk(63.3%, 86.1%, 0%, 29.4%)
CIE-LABlab(27.15, 56.40, -73.01)
CIE-LCHlch(27.15, 92.25, 307.69°)
OKLaboklab(39.8% 0.047 -0.2105)
OKLCHoklch(39.8% 0.216 282.6)
XYZxyz(10.8300, 5.1480, 43.5941)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4219B4 #8BB419
analogous
#193DB4 #4219B4 #8F19B4
triadic
#4219B4 #B44219 #19B442
tetradic
#4219B4 #B4193D #8BB419 #19B48F
square
#4219B4 #B4193D #8BB419 #19B48F
split-complementary
#4219B4 #B48F19 #3DB419
monochromatic
#1B0A49 #2E127E #4219B4 #5A29E1 #835FE9

Accessibility & contrast

On white

10.35
#4219B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4219B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4219B4
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4219B4#FFFFFF#000000##FFFFFF
##4219B41.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4219b4;
/* rgb */ color: rgb(66, 25, 180);
/* oklch */ color: oklch(39.8% 0.216 282.6);
Tailwind
colors: {
  custom: {
    50: '#865fcc',
    500: '#4219b4',
    950: '#000000',
  },
}
SCSS
$custom: #4219b4;
$custom-light: #865fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4219b4",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 255.871,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.21573,
    "h": 282.6
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#4219B4
secondary
#AFCD5C
accent
#F236C0
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4219B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4219B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva