#4B236A#4B236A

#4B236A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.121 H 307.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4B236A
RGBrgb(75, 35, 106)
HSLhsl(274, 50%, 28%)
HSVhsv(274, 67%, 42%)
CMYKcmyk(29.2%, 67%, 0%, 58.4%)
CIE-LABlab(22.79, 33.04, -34.15)
CIE-LCHlch(22.79, 47.52, 314.05°)
OKLaboklab(34.87% 0.0731 -0.0966)
OKLCHoklch(34.87% 0.121 307.1)
XYZxyz(6.1037, 3.7386, 14.0330)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B236A #426A23
analogous
#27236A #4B236A #6A2365
triadic
#4B236A #6A4B23 #236A4B
tetradic
#4B236A #6A2723 #426A23 #23656A
square
#4B236A #6A2723 #426A23 #23656A
split-complementary
#4B236A #656A23 #236A27
monochromatic
#100817 #2A143C #4B236A #6C3298 #8C46C2

Accessibility & contrast

On white

12.02
#4B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B236A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B236A#FFFFFF#000000##FFFFFF
##4B236A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#153768
Tritanopia (blue-blind)
#463243
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b236a;
/* rgb */ color: rgb(75, 35, 106);
/* oklch */ color: oklch(34.9% 0.121 307.1);
Tailwind
colors: {
  custom: {
    50: '#806195',
    500: '#4b236a',
    950: '#000000',
  },
}
SCSS
$custom: #4b236a;
$custom-light: #806195;
$custom-dark: #000000;
JSON
{
  "hex": "#4b236a",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 273.803,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34868,
    "c": 0.12112,
    "h": 307.1
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#4B236A
secondary
#6F9D4B
accent
#DA4E8B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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