#4029AE#4029AE

#4029AE is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.196 H 281.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4029AE
RGBrgb(64, 41, 174)
HSLhsl(250, 62%, 42%)
HSVhsv(250, 76%, 68%)
CMYKcmyk(63.2%, 76.4%, 0%, 31.8%)
CIE-LABlab(28.72, 47.48, -66.83)
CIE-LCHlch(28.72, 81.98, 305.39°)
OKLaboklab(40.66% 0.0376 -0.1928)
OKLCHoklch(40.66% 0.196 281)
XYZxyz(10.5449, 5.7311, 40.5867)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029AE #97AE29
analogous
#2955AE #4029AE #8329AE
triadic
#4029AE #AE4029 #29AE40
tetradic
#4029AE #AE2955 #97AE29 #29AE83
square
#4029AE #AE2955 #97AE29 #29AE83
split-complementary
#4029AE #AE8329 #55AE29
monochromatic
#1C124B #2E1D7C #4029AE #5B42D2 #8673DE

Accessibility & contrast

On white

9.78
#4029AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4029AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029AE
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029AE#FFFFFF#000000##FFFFFF
##4029AE1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4029ae;
/* rgb */ color: rgb(64, 41, 174);
/* oklch */ color: oklch(40.7% 0.196 281.0);
Tailwind
colors: {
  custom: {
    50: '#8366c7',
    500: '#4029ae',
    950: '#000000',
  },
}
SCSS
$custom: #4029ae;
$custom-light: #8366c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4029ae",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 250.376,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.19645,
    "h": 281
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4029AE

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

Preview Lab → · Contrast checker → · Palette generator →

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