#4B236B#4B236B

#4B236B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.122 H 306.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4B236B
RGBrgb(75, 35, 107)
HSLhsl(273, 51%, 28%)
HSVhsv(273, 67%, 42%)
CMYKcmyk(29.9%, 67.3%, 0%, 58%)
CIE-LABlab(22.86, 33.30, -34.68)
CIE-LCHlch(22.86, 48.08, 313.83°)
OKLaboklab(34.94% 0.0731 -0.0981)
OKLCHoklch(34.94% 0.122 306.7)
XYZxyz(6.1560, 3.7595, 14.3084)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B236B #436B23
analogous
#27236B #4B236B #6B2367
triadic
#4B236B #6B4B23 #236B4B
tetradic
#4B236B #6B2723 #436B23 #23676B
square
#4B236B #6B2723 #436B23 #23676B
split-complementary
#4B236B #676B23 #236B27
monochromatic
#100817 #2B143D #4B236B #6B3299 #8B46C2

Accessibility & contrast

On white

11.99
#4B236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B236B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B236B#FFFFFF#000000##FFFFFF
##4B236B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#463243
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b236b;
/* rgb */ color: rgb(75, 35, 107);
/* oklch */ color: oklch(34.9% 0.122 306.7);
Tailwind
colors: {
  custom: {
    50: '#806196',
    500: '#4b236b',
    950: '#000000',
  },
}
SCSS
$custom: #4b236b;
$custom-light: #806196;
$custom-dark: #000000;
JSON
{
  "hex": "#4b236b",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 273.333,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.12233,
    "h": 306.7
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#4B236B
secondary
#709E4B
accent
#DA4E8C
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B236B

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

Preview Lab → · Contrast checker → · Palette generator →

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