#3E23B2#3E23B2

#3E23B2 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.207 H 280.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3E23B2
RGBrgb(62, 35, 178)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 80%, 70%)
CMYKcmyk(65.2%, 80.3%, 0%, 30.2%)
CIE-LABlab(27.95, 51.38, -70.50)
CIE-LCHlch(27.95, 87.24, 306.08°)
OKLaboklab(40.2% 0.037 -0.2035)
OKLCHoklch(40.2% 0.207 280.3)
XYZxyz(10.6210, 5.4397, 42.6011)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E23B2 #97B223
analogous
#234FB2 #3E23B2 #8623B2
triadic
#3E23B2 #B23E23 #23B23E
tetradic
#3E23B2 #B2234F #97B223 #23B286
square
#3E23B2 #B2234F #97B223 #23B286
split-complementary
#3E23B2 #B28623 #4FB223
monochromatic
#1A0F4C #2C197F #3E23B2 #583AD8 #836DE2

Accessibility & contrast

On white

10.06
#3E23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E23B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E23B2
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E23B2#FFFFFF#000000##FFFFFF
##3E23B21.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e23b2;
/* rgb */ color: rgb(62, 35, 178);
/* oklch */ color: oklch(40.2% 0.207 280.3);
Tailwind
colors: {
  custom: {
    50: '#8363ca',
    500: '#3e23b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e23b2;
$custom-light: #8363ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e23b2",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 251.329,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.20684,
    "h": 280.3
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#3E23B2
secondary
#B6C968
accent
#EA3ECA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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