#4029B3#4029B3

#4029B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.202 H 280.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4029B3
RGBrgb(64, 41, 179)
HSLhsl(250, 63%, 43%)
HSVhsv(250, 77%, 70%)
CMYKcmyk(64.2%, 77.1%, 0%, 29.8%)
CIE-LABlab(29.23, 48.99, -68.97)
CIE-LCHlch(29.23, 84.60, 305.39°)
OKLaboklab(41.17% 0.0363 -0.1991)
OKLCHoklch(41.17% 0.202 280.3)
XYZxyz(11.0414, 5.9297, 43.2018)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029B3 #9CB329
analogous
#2957B3 #4029B3 #8529B3
triadic
#4029B3 #B34029 #29B340
tetradic
#4029B3 #B32957 #9CB329 #29B385
square
#4029B3 #B32957 #9CB329 #29B385
split-complementary
#4029B3 #B38529 #57B329
monochromatic
#1C124F #2E1E81 #4029B3 #5D45D4 #8877E0

Accessibility & contrast

On white

9.61
#4029B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4029B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029B3
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029B3#FFFFFF#000000##FFFFFF
##4029B31.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4029b3;
/* rgb */ color: rgb(64, 41, 179);
/* oklch */ color: oklch(41.2% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#8466cb',
    500: '#4029b3',
    950: '#000000',
  },
}
SCSS
$custom: #4029b3;
$custom-light: #8466cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4029b3",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 250,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.20236,
    "h": 280.3
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#4029B3
secondary
#B9C770
accent
#E642CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4029B3

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

Preview Lab → · Contrast checker → · Palette generator →

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