#4B236D#4B236D

#4B236D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.125 H 305.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#4B236D
RGBrgb(75, 35, 109)
HSLhsl(272, 51%, 28%)
HSVhsv(272, 68%, 43%)
CMYKcmyk(31.2%, 67.9%, 0%, 57.3%)
CIE-LABlab(23.01, 33.82, -35.74)
CIE-LCHlch(23.01, 49.20, 313.42°)
OKLaboklab(35.1% 0.0729 -0.1012)
OKLCHoklch(35.1% 0.125 305.8)
XYZxyz(6.2624, 3.8021, 14.8690)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B236D #456D23
analogous
#26236D #4B236D #6D236A
triadic
#4B236D #6D4B23 #236D4B
tetradic
#4B236D #6D2623 #456D23 #236A6D
square
#4B236D #6D2623 #456D23 #236A6D
split-complementary
#4B236D #6A6D23 #236D26
monochromatic
#100717 #2B143F #4B236D #6B329B #8A47C4

Accessibility & contrast

On white

11.93
#4B236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4B236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B236D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B236D#FFFFFF#000000##FFFFFF
##4B236D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#453344
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b236d;
/* rgb */ color: rgb(75, 35, 109);
/* oklch */ color: oklch(35.1% 0.125 305.8);
Tailwind
colors: {
  custom: {
    50: '#806197',
    500: '#4b236d',
    950: '#000000',
  },
}
SCSS
$custom: #4b236d;
$custom-light: #806197;
$custom-dark: #000000;
JSON
{
  "hex": "#4b236d",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 272.432,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.12475,
    "h": 305.8
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#4B236D
secondary
#72A04B
accent
#DB4D8E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B236D

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

Preview Lab → · Contrast checker → · Palette generator →

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