#3E23B0#3E23B0

#3E23B0 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.0% C 0.205 H 280.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3E23B0
RGBrgb(62, 35, 176)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 80%, 69%)
CMYKcmyk(64.8%, 80.1%, 0%, 31%)
CIE-LABlab(27.74, 50.79, -69.66)
CIE-LCHlch(27.74, 86.21, 306.10°)
OKLaboklab(39.98% 0.0376 -0.2011)
OKLCHoklch(39.98% 0.205 280.6)
XYZxyz(10.4216, 5.3600, 41.5513)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E23B0 #95B023
analogous
#234FB0 #3E23B0 #8523B0
triadic
#3E23B0 #B03E23 #23B03E
tetradic
#3E23B0 #B0234F #95B023 #23B085
square
#3E23B0 #B0234F #95B023 #23B085
split-complementary
#3E23B0 #B08523 #4FB023
monochromatic
#1A0F4A #2C197D #3E23B0 #5739D8 #826CE2

Accessibility & contrast

On white

10.13
#3E23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E23B0
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E23B0#FFFFFF#000000##FFFFFF
##3E23B01.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e23b0;
/* rgb */ color: rgb(62, 35, 176);
/* oklch */ color: oklch(40.0% 0.205 280.6);
Tailwind
colors: {
  custom: {
    50: '#8363c9',
    500: '#3e23b0',
    950: '#000000',
  },
}
SCSS
$custom: #3e23b0;
$custom-light: #8363c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e23b0",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 251.489,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39984,
    "c": 0.20454,
    "h": 280.6
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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