#4029AD#4029AD

#4029AD is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.195 H 281.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4029AD
RGBrgb(64, 41, 173)
HSLhsl(250, 62%, 42%)
HSVhsv(250, 76%, 68%)
CMYKcmyk(63%, 76.3%, 0%, 32.2%)
CIE-LABlab(28.62, 47.18, -66.39)
CIE-LCHlch(28.62, 81.45, 305.40°)
OKLaboklab(40.55% 0.0379 -0.1915)
OKLCHoklch(40.55% 0.195 281.2)
XYZxyz(10.4477, 5.6922, 40.0752)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029AD #96AD29
analogous
#2954AD #4029AD #8229AD
triadic
#4029AD #AD4029 #29AD40
tetradic
#4029AD #AD2954 #96AD29 #29AD82
square
#4029AD #AD2954 #96AD29 #29AD82
split-complementary
#4029AD #AD8229 #54AD29
monochromatic
#1B124A #2E1D7C #4029AD #5A41D2 #8573DE

Accessibility & contrast

On white

9.82
#4029AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4029AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029AD
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029AD#FFFFFF#000000##FFFFFF
##4029AD1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4029ad;
/* rgb */ color: rgb(64, 41, 173);
/* oklch */ color: oklch(40.6% 0.195 281.2);
Tailwind
colors: {
  custom: {
    50: '#8366c7',
    500: '#4029ad',
    950: '#000000',
  },
}
SCSS
$custom: #4029ad;
$custom-light: #8366c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4029ad",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 250.455,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.19526,
    "h": 281.2
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#4029AD
secondary
#B6C56D
accent
#E543C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4029AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4029AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva