#4B236F#4B236F

#4B236F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.127 H 304.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#4B236F
RGBrgb(75, 35, 111)
HSLhsl(272, 52%, 29%)
HSVhsv(272, 68%, 44%)
CMYKcmyk(32.4%, 68.5%, 0%, 56.5%)
CIE-LABlab(23.15, 34.34, -36.79)
CIE-LCHlch(23.15, 50.33, 313.03°)
OKLaboklab(35.25% 0.0727 -0.1043)
OKLCHoklch(35.25% 0.127 304.9)
XYZxyz(6.3713, 3.8457, 15.4425)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B236F #476F23
analogous
#25236F #4B236F #6F236D
triadic
#4B236F #6F4B23 #236F4B
tetradic
#4B236F #6F2523 #476F23 #236D6F
square
#4B236F #6F2523 #476F23 #236D6F
split-complementary
#4B236F #6D6F23 #236F25
monochromatic
#100717 #2C1440 #4B236F #6A329E #8A47C5

Accessibility & contrast

On white

11.87
#4B236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B236F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B236F#FFFFFF#000000##FFFFFF
##4B236F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#443345
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b236f;
/* rgb */ color: rgb(75, 35, 111);
/* oklch */ color: oklch(35.3% 0.127 304.9);
Tailwind
colors: {
  custom: {
    50: '#816199',
    500: '#4b236f',
    950: '#000000',
  },
}
SCSS
$custom: #4b236f;
$custom-light: #816199;
$custom-dark: #000000;
JSON
{
  "hex": "#4b236f",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 271.579,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.12717,
    "h": 304.9
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#4B236F
secondary
#75A24C
accent
#DB4C90
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B236F

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

Preview Lab → · Contrast checker → · Palette generator →

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