#4B23B2#4B23B2

#4B23B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.205 H 286.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4B23B2
RGBrgb(75, 35, 178)
HSLhsl(257, 67%, 42%)
HSVhsv(257, 80%, 70%)
CMYKcmyk(57.9%, 80.3%, 0%, 30.2%)
CIE-LABlab(29.19, 52.78, -68.42)
CIE-LCHlch(29.19, 86.41, 307.65°)
OKLaboklab(41.35% 0.0567 -0.1971)
OKLCHoklch(41.35% 0.205 286)
XYZxyz(11.5361, 5.9116, 42.6440)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B23B2 #8AB223
analogous
#2343B2 #4B23B2 #9323B2
triadic
#4B23B2 #B24B23 #23B24B
tetradic
#4B23B2 #B22343 #8AB223 #23B293
square
#4B23B2 #B22343 #8AB223 #23B293
split-complementary
#4B23B2 #B29323 #43B223
monochromatic
#200F4C #35197F #4B23B2 #663AD8 #8E6DE2

Accessibility & contrast

On white

9.62
#4B23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B23B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B23B2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B23B2#FFFFFF#000000##FFFFFF
##4B23B21.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#154E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b23b2;
/* rgb */ color: rgb(75, 35, 178);
/* oklch */ color: oklch(41.4% 0.205 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a64ca',
    500: '#4b23b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b23b2;
$custom-light: #8a64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b23b2",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 256.783,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.20506,
    "h": 286
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#4B23B2
secondary
#AEC968
accent
#EA3EBA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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