#4B239F#4B239F

#4B239F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.184 H 289.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4B239F
RGBrgb(75, 35, 159)
HSLhsl(259, 64%, 38%)
HSVhsv(259, 78%, 62%)
CMYKcmyk(52.8%, 78%, 0%, 37.6%)
CIE-LABlab(27.30, 47.50, -60.07)
CIE-LCHlch(27.30, 76.58, 308.33°)
OKLaboklab(39.47% 0.0626 -0.1727)
OKLCHoklch(39.47% 0.184 289.9)
XYZxyz(9.7589, 5.2007, 33.2838)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B239F #779F23
analogous
#23399F #4B239F #89239F
triadic
#4B239F #9F4B23 #239F4B
tetradic
#4B239F #9F2339 #779F23 #239F89
square
#4B239F #9F2339 #779F23 #239F89
split-complementary
#4B239F #9F8923 #399F23
monochromatic
#1C0D3B #33186D #4B239F #632ED1 #8860DC

Accessibility & contrast

On white

10.29
#4B239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B239F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B239F#FFFFFF#000000##FFFFFF
##4B239F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#2C4660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b239f;
/* rgb */ color: rgb(75, 35, 159);
/* oklch */ color: oklch(39.5% 0.184 289.9);
Tailwind
colors: {
  custom: {
    50: '#8763bc',
    500: '#4b239f',
    950: '#000000',
  },
}
SCSS
$custom: #4b239f;
$custom-light: #8763bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b239f",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 259.355,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.18367,
    "h": 289.9
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#4B239F
secondary
#A1C15D
accent
#E741B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B239F

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

Preview Lab → · Contrast checker → · Palette generator →

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