#4023AE#4023AE

#4023AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.202 H 281.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4023AE
RGBrgb(64, 35, 174)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(63.2%, 79.9%, 0%, 31.8%)
CIE-LABlab(27.70, 50.42, -68.51)
CIE-LCHlch(27.70, 85.06, 306.35°)
OKLaboklab(39.94% 0.0412 -0.1977)
OKLCHoklch(39.94% 0.202 281.8)
XYZxyz(10.3530, 5.3473, 40.5228)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4023AE #91AE23
analogous
#234BAE #4023AE #8523AE
triadic
#4023AE #AE4023 #23AE40
tetradic
#4023AE #AE234B #91AE23 #23AE85
square
#4023AE #AE234B #91AE23 #23AE85
split-complementary
#4023AE #AE8523 #4BAE23
monochromatic
#1B0F48 #2D197B #4023AE #5937D7 #836AE1

Accessibility & contrast

On white

10.15
#4023AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4023AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4023AE
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4023AE#FFFFFF#000000##FFFFFF
##4023AE1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4023ae;
/* rgb */ color: rgb(64, 35, 174);
/* oklch */ color: oklch(39.9% 0.202 281.8);
Tailwind
colors: {
  custom: {
    50: '#8463c7',
    500: '#4023ae',
    950: '#000000',
  },
}
SCSS
$custom: #4023ae;
$custom-light: #8463c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4023ae",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 252.518,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.20191,
    "h": 281.8
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#4023AE
secondary
#B3C766
accent
#E93EC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4023AE

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

Preview Lab → · Contrast checker → · Palette generator →

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