#4B23B8#4B23B8

#4B23B8 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.212 H 285.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4B23B8
RGBrgb(75, 35, 184)
HSLhsl(256, 68%, 43%)
HSVhsv(256, 81%, 72%)
CMYKcmyk(59.2%, 81%, 0%, 27.8%)
CIE-LABlab(29.81, 54.44, -70.97)
CIE-LCHlch(29.81, 89.45, 307.49°)
OKLaboklab(41.97% 0.0547 -0.2045)
OKLCHoklch(41.97% 0.212 285)
XYZxyz(12.1518, 6.1578, 45.8864)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B23B8 #90B823
analogous
#2346B8 #4B23B8 #9523B8
triadic
#4B23B8 #B84B23 #23B84B
tetradic
#4B23B8 #B82346 #90B823 #23B895
square
#4B23B8 #B82346 #90B823 #23B895
split-complementary
#4B23B8 #B89523 #46B823
monochromatic
#210F51 #361985 #4B23B8 #683EDA #9071E4

Accessibility & contrast

On white

9.41
#4B23B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B23B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B23B8
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B23B8#FFFFFF#000000##FFFFFF
##4B23B81.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#04506F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b23b8;
/* rgb */ color: rgb(75, 35, 184);
/* oklch */ color: oklch(42.0% 0.212 285.0);
Tailwind
colors: {
  custom: {
    50: '#8b64cf',
    500: '#4b23b8',
    950: '#000000',
  },
}
SCSS
$custom: #4b23b8;
$custom-light: #8b64cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b23b8",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 184
  },
  "hsl": {
    "h": 256.107,
    "s": 68.037,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.21172,
    "h": 285
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#4B23B8
secondary
#B1CB6C
accent
#EB3DBC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B23B8

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

Preview Lab → · Contrast checker → · Palette generator →

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