#3E23AA#3E23AA

#3E23AA is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.198 H 281.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3E23AA
RGBrgb(62, 35, 170)
HSLhsl(252, 66%, 40%)
HSVhsv(252, 79%, 67%)
CMYKcmyk(63.5%, 79.4%, 0%, 33.3%)
CIE-LABlab(27.10, 49.03, -67.12)
CIE-LCHlch(27.10, 83.12, 306.15°)
OKLaboklab(39.35% 0.0394 -0.1936)
OKLCHoklch(39.35% 0.198 281.5)
XYZxyz(9.8411, 5.1277, 38.4936)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E23AA #8FAA23
analogous
#234BAA #3E23AA #8123AA
triadic
#3E23AA #AA3E23 #23AA3E
tetradic
#3E23AA #AA234B #8FAA23 #23AA81
square
#3E23AA #AA234B #8FAA23 #23AA81
split-complementary
#3E23AA #AA8123 #4BAA23
monochromatic
#190E44 #2B1977 #3E23AA #5535D5 #8068E0

Accessibility & contrast

On white

10.37
#3E23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3E23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E23AA
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E23AA#FFFFFF#000000##FFFFFF
##3E23AA1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e23aa;
/* rgb */ color: rgb(62, 35, 170);
/* oklch */ color: oklch(39.3% 0.198 281.5);
Tailwind
colors: {
  custom: {
    50: '#8262c5',
    500: '#3e23aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e23aa;
$custom-light: #8262c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e23aa",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 252,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.19761,
    "h": 281.5
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#3E23AA
secondary
#B2C663
accent
#E93FC7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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