#4B239E#4B239E

#4B239E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.183 H 290.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4B239E
RGBrgb(75, 35, 158)
HSLhsl(260, 64%, 38%)
HSVhsv(260, 78%, 62%)
CMYKcmyk(52.5%, 77.8%, 0%, 38%)
CIE-LABlab(27.20, 47.22, -59.62)
CIE-LCHlch(27.20, 76.06, 308.38°)
OKLaboklab(39.38% 0.0629 -0.1714)
OKLCHoklch(39.38% 0.183 290.2)
XYZxyz(9.6725, 5.1661, 32.8286)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B239E #769E23
analogous
#23389E #4B239E #88239E
triadic
#4B239E #9E4B23 #239E4B
tetradic
#4B239E #9E2338 #769E23 #239E88
square
#4B239E #9E2338 #769E23 #239E88
split-complementary
#4B239E #9E8823 #389E23
monochromatic
#1B0D3A #33186C #4B239E #632ED0 #8860DC

Accessibility & contrast

On white

10.33
#4B239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4B239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B239E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B239E#FFFFFF#000000##FFFFFF
##4B239E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#2D4660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b239e;
/* rgb */ color: rgb(75, 35, 158);
/* oklch */ color: oklch(39.4% 0.183 290.2);
Tailwind
colors: {
  custom: {
    50: '#8663bc',
    500: '#4b239e',
    950: '#000000',
  },
}
SCSS
$custom: #4b239e;
$custom-light: #8663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b239e",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 259.512,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.18253,
    "h": 290.2
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#4B239E
secondary
#A0C15C
accent
#E741B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B239E

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

Preview Lab → · Contrast checker → · Palette generator →

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