#3E23B4#3E23B4

#3E23B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.209 H 280.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3E23B4
RGBrgb(62, 35, 180)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 81%, 71%)
CMYKcmyk(65.6%, 80.6%, 0%, 29.4%)
CIE-LABlab(28.17, 51.96, -71.33)
CIE-LCHlch(28.17, 88.26, 306.07°)
OKLaboklab(40.41% 0.0364 -0.2059)
OKLCHoklch(40.41% 0.209 280)
XYZxyz(10.8232, 5.5206, 43.6664)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E23B4 #99B423
analogous
#2351B4 #3E23B4 #8623B4
triadic
#3E23B4 #B43E23 #23B43E
tetradic
#3E23B4 #B42351 #99B423 #23B486
square
#3E23B4 #B42351 #99B423 #23B486
split-complementary
#3E23B4 #B48623 #51B423
monochromatic
#1B0F4E #2C1981 #3E23B4 #593BD9 #846EE3

Accessibility & contrast

On white

9.98
#3E23B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E23B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E23B4
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E23B4#FFFFFF#000000##FFFFFF
##3E23B41.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e23b4;
/* rgb */ color: rgb(62, 35, 180);
/* oklch */ color: oklch(40.4% 0.209 280.0);
Tailwind
colors: {
  custom: {
    50: '#8463cc',
    500: '#3e23b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e23b4;
$custom-light: #8463cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e23b4",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 251.172,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40412,
    "c": 0.20913,
    "h": 280
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#3E23B4
secondary
#B8C969
accent
#EA3DCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E23B4

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

Preview Lab → · Contrast checker → · Palette generator →

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