#4B23A4#4B23A4

#4B23A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.189 H 288.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4B23A4
RGBrgb(75, 35, 164)
HSLhsl(259, 65%, 39%)
HSVhsv(259, 79%, 64%)
CMYKcmyk(54.3%, 78.7%, 0%, 35.7%)
CIE-LABlab(27.79, 48.89, -62.31)
CIE-LCHlch(27.79, 79.20, 308.12°)
OKLaboklab(39.96% 0.0611 -0.1792)
OKLCHoklch(39.96% 0.189 288.8)
XYZxyz(10.2016, 5.3778, 35.6152)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B23A4 #7CA423
analogous
#233BA4 #4B23A4 #8C23A4
triadic
#4B23A4 #A44B23 #23A44B
tetradic
#4B23A4 #A4233B #7CA423 #23A48C
square
#4B23A4 #A4233B #7CA423 #23A48C
split-complementary
#4B23A4 #A48C23 #3BA423
monochromatic
#1D0D3F #341872 #4B23A4 #6331D3 #8964DE

Accessibility & contrast

On white

10.12
#4B23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B23A4
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B23A4#FFFFFF#000000##FFFFFF
##4B23A41.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#274863
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b23a4;
/* rgb */ color: rgb(75, 35, 164);
/* oklch */ color: oklch(40.0% 0.189 288.8);
Tailwind
colors: {
  custom: {
    50: '#8763c0',
    500: '#4b23a4',
    950: '#000000',
  },
}
SCSS
$custom: #4b23a4;
$custom-light: #8763c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b23a4",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 258.605,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.18936,
    "h": 288.8
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#4B23A4
secondary
#A4C360
accent
#E840B4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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