#3E23AF#3E23AF

#3E23AF is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.203 H 280.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3E23AF
RGBrgb(62, 35, 175)
HSLhsl(252, 67%, 41%)
HSVhsv(252, 80%, 69%)
CMYKcmyk(64.6%, 80%, 0%, 31.4%)
CIE-LABlab(27.63, 50.50, -69.24)
CIE-LCHlch(27.63, 85.70, 306.11°)
OKLaboklab(39.88% 0.0379 -0.1998)
OKLCHoklch(39.88% 0.203 280.7)
XYZxyz(10.3231, 5.3205, 41.0321)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E23AF #94AF23
analogous
#234EAF #3E23AF #8423AF
triadic
#3E23AF #AF3E23 #23AF3E
tetradic
#3E23AF #AF234E #94AF23 #23AF84
square
#3E23AF #AF234E #94AF23 #23AF84
split-complementary
#3E23AF #AF8423 #4EAF23
monochromatic
#1A0F49 #2C197C #3E23AF #5738D7 #826BE1

Accessibility & contrast

On white

10.17
#3E23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E23AF
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E23AF#FFFFFF#000000##FFFFFF
##3E23AF1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e23af;
/* rgb */ color: rgb(62, 35, 175);
/* oklch */ color: oklch(39.9% 0.203 280.7);
Tailwind
colors: {
  custom: {
    50: '#8363c8',
    500: '#3e23af',
    950: '#000000',
  },
}
SCSS
$custom: #3e23af;
$custom-light: #8363c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e23af",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 251.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.2034,
    "h": 280.7
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#3E23AF
secondary
#B5C766
accent
#EA3EC9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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