#4B236E#4B236E

#4B236E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.126 H 305.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#4B236E
RGBrgb(75, 35, 110)
HSLhsl(272, 52%, 28%)
HSVhsv(272, 68%, 43%)
CMYKcmyk(31.8%, 68.2%, 0%, 56.9%)
CIE-LABlab(23.08, 34.08, -36.27)
CIE-LCHlch(23.08, 49.77, 313.22°)
OKLaboklab(35.17% 0.0728 -0.1028)
OKLCHoklch(35.17% 0.126 305.3)
XYZxyz(6.3165, 3.8238, 15.1541)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B236E #466E23
analogous
#25236E #4B236E #6E236B
triadic
#4B236E #6E4B23 #236E4B
tetradic
#4B236E #6E2523 #466E23 #236B6E
square
#4B236E #6E2523 #466E23 #236B6E
split-complementary
#4B236E #6B6E23 #236E25
monochromatic
#100717 #2B1440 #4B236E #6B329C #8A47C4

Accessibility & contrast

On white

11.90
#4B236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B236E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B236E#FFFFFF#000000##FFFFFF
##4B236E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#453345
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b236e;
/* rgb */ color: rgb(75, 35, 110);
/* oklch */ color: oklch(35.2% 0.126 305.3);
Tailwind
colors: {
  custom: {
    50: '#806198',
    500: '#4b236e',
    950: '#000000',
  },
}
SCSS
$custom: #4b236e;
$custom-light: #806198;
$custom-dark: #000000;
JSON
{
  "hex": "#4b236e",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 272,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35173,
    "c": 0.12596,
    "h": 305.3
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#4B236E
secondary
#74A14C
accent
#DB4D8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B236E

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

Preview Lab → · Contrast checker → · Palette generator →

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