#4B23CA#4B23CA

#4B23CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.231 H 282.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4B23CA
RGBrgb(75, 35, 202)
HSLhsl(254, 70%, 46%)
HSVhsv(254, 83%, 79%)
CMYKcmyk(62.9%, 82.7%, 0%, 20.8%)
CIE-LABlab(31.72, 59.38, -78.41)
CIE-LCHlch(31.72, 98.35, 307.14°)
OKLaboklab(43.85% 0.0487 -0.2262)
OKLCHoklch(43.85% 0.231 282.2)
XYZxyz(14.1600, 6.9611, 56.4631)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B23CA #A2CA23
analogous
#234FCA #4B23CA #9F23CA
triadic
#4B23CA #CA4B23 #23CA4B
tetradic
#4B23CA #CA234F #A2CA23 #23CA9F
square
#4B23CA #CA234F #A2CA23 #23CA9F
split-complementary
#4B23CA #CA9F23 #4FCA23
monochromatic
#241162 #381A96 #4B23CA #6E4AE0 #987FE9

Accessibility & contrast

On white

8.78
#4B23CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4B23CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B23CA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B23CA#FFFFFF#000000##FFFFFF
##4B23CA1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b23ca;
/* rgb */ color: rgb(75, 35, 202);
/* oklch */ color: oklch(43.8% 0.231 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e66dc',
    500: '#4b23ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b23ca;
$custom-light: #8e66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b23ca",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 254.371,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.23138,
    "h": 282.2
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#4B23CA
secondary
#BCD178
accent
#ED3BC2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4B23CA

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

Preview Lab → · Contrast checker → · Palette generator →

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