#4E23B0#4E23B0

#4E23B0 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.203 H 287.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4E23B0
RGBrgb(78, 35, 176)
HSLhsl(258, 67%, 41%)
HSVhsv(258, 80%, 69%)
CMYKcmyk(55.7%, 80.1%, 0%, 31%)
CIE-LABlab(29.30, 52.59, -67.03)
CIE-LCHlch(29.30, 85.20, 308.12°)
OKLaboklab(41.45% 0.062 -0.1929)
OKLCHoklch(41.45% 0.203 287.8)
XYZxyz(11.5771, 5.9557, 41.6054)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E23B0 #85B023
analogous
#233FB0 #4E23B0 #9523B0
triadic
#4E23B0 #B04E23 #23B04E
tetradic
#4E23B0 #B0233F #85B023 #23B095
square
#4E23B0 #B0233F #85B023 #23B095
split-complementary
#4E23B0 #B09523 #3FB023
monochromatic
#210F4A #37197D #4E23B0 #6939D8 #906CE2

Accessibility & contrast

On white

9.58
#4E23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E23B0
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E23B0#FFFFFF#000000##FFFFFF
##4E23B01.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#234D6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e23b0;
/* rgb */ color: rgb(78, 35, 176);
/* oklch */ color: oklch(41.4% 0.203 287.8);
Tailwind
colors: {
  custom: {
    50: '#8b64c9',
    500: '#4e23b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e23b0;
$custom-light: #8b64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e23b0",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 258.298,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.20263,
    "h": 287.8
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#4E23B0
secondary
#AAC867
accent
#EA3EB5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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