#4023AD#4023AD

#4023AD is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.201 H 281.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4023AD
RGBrgb(64, 35, 173)
HSLhsl(253, 66%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(63%, 79.8%, 0%, 32.2%)
CIE-LABlab(27.60, 50.13, -68.09)
CIE-LCHlch(27.60, 84.55, 306.36°)
OKLaboklab(39.84% 0.0415 -0.1964)
OKLCHoklch(39.84% 0.201 281.9)
XYZxyz(10.2558, 5.3084, 40.0112)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4023AD #90AD23
analogous
#234BAD #4023AD #8523AD
triadic
#4023AD #AD4023 #23AD40
tetradic
#4023AD #AD234B #90AD23 #23AD85
square
#4023AD #AD234B #90AD23 #23AD85
split-complementary
#4023AD #AD8523 #4BAD23
monochromatic
#1A0E47 #2D197A #4023AD #5837D6 #836AE1

Accessibility & contrast

On white

10.19
#4023AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4023AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4023AD
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4023AD#FFFFFF#000000##FFFFFF
##4023AD1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4023ad;
/* rgb */ color: rgb(64, 35, 173);
/* oklch */ color: oklch(39.8% 0.201 281.9);
Tailwind
colors: {
  custom: {
    50: '#8363c7',
    500: '#4023ad',
    950: '#000000',
  },
}
SCSS
$custom: #4023ad;
$custom-light: #8363c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4023ad",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 252.609,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.20076,
    "h": 281.9
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4023AD
secondary
#B2C765
accent
#E93FC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4023AD

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

Preview Lab → · Contrast checker → · Palette generator →

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