#3E23AC#3E23AC

#3E23AC is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.200 H 281.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3E23AC
RGBrgb(62, 35, 172)
HSLhsl(252, 66%, 41%)
HSVhsv(252, 80%, 67%)
CMYKcmyk(64%, 79.7%, 0%, 32.5%)
CIE-LABlab(27.31, 49.62, -67.97)
CIE-LCHlch(27.31, 84.15, 306.13°)
OKLaboklab(39.56% 0.0388 -0.1961)
OKLCHoklch(39.56% 0.2 281.2)
XYZxyz(10.0317, 5.2040, 39.4976)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E23AC #91AC23
analogous
#234CAC #3E23AC #8223AC
triadic
#3E23AC #AC3E23 #23AC3E
tetradic
#3E23AC #AC234C #91AC23 #23AC82
square
#3E23AC #AC234C #91AC23 #23AC82
split-complementary
#3E23AC #AC8223 #4CAC23
monochromatic
#190E46 #2C1979 #3E23AC #5636D6 #8069E0

Accessibility & contrast

On white

10.29
#3E23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E23AC
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E23AC#FFFFFF#000000##FFFFFF
##3E23AC1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e23ac;
/* rgb */ color: rgb(62, 35, 172);
/* oklch */ color: oklch(39.6% 0.200 281.2);
Tailwind
colors: {
  custom: {
    50: '#8263c6',
    500: '#3e23ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e23ac;
$custom-light: #8263c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e23ac",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 251.825,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3956,
    "c": 0.19994,
    "h": 281.2
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#3E23AC
secondary
#B3C664
accent
#E93FC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E23AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3E23AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva