#4029B1#4029B1

#4029B1 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.0% C 0.200 H 280.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4029B1
RGBrgb(64, 41, 177)
HSLhsl(250, 62%, 43%)
HSVhsv(250, 77%, 69%)
CMYKcmyk(63.8%, 76.8%, 0%, 30.6%)
CIE-LABlab(29.03, 48.39, -68.12)
CIE-LCHlch(29.03, 83.56, 305.39°)
OKLaboklab(40.96% 0.0368 -0.1966)
OKLCHoklch(40.96% 0.2 280.6)
XYZxyz(10.8406, 5.8494, 42.1442)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029B1 #9AB129
analogous
#2956B1 #4029B1 #8429B1
triadic
#4029B1 #B14029 #29B140
tetradic
#4029B1 #B12956 #9AB129 #29B184
square
#4029B1 #B12956 #9AB129 #29B184
split-complementary
#4029B1 #B18429 #56B129
monochromatic
#1C124E #2E1D7F #4029B1 #5C44D4 #8775DF

Accessibility & contrast

On white

9.68
#4029B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4029B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029B1
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029B1#FFFFFF#000000##FFFFFF
##4029B11.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4029b1;
/* rgb */ color: rgb(64, 41, 177);
/* oklch */ color: oklch(41.0% 0.200 280.6);
Tailwind
colors: {
  custom: {
    50: '#8466ca',
    500: '#4029b1',
    950: '#000000',
  },
}
SCSS
$custom: #4029b1;
$custom-light: #8466ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4029b1",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 250.147,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.2,
    "h": 280.6
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#4029B1
secondary
#B8C76F
accent
#E542CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4029B1

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

Preview Lab → · Contrast checker → · Palette generator →

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