#4B2374#4B2374

#4B2374 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.133 H 302.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#4B2374
RGBrgb(75, 35, 116)
HSLhsl(270, 54%, 30%)
HSVhsv(270, 70%, 45%)
CMYKcmyk(35.3%, 69.8%, 0%, 54.5%)
CIE-LABlab(23.54, 35.66, -39.39)
CIE-LCHlch(23.54, 53.14, 312.16°)
OKLaboklab(35.64% 0.0722 -0.1119)
OKLCHoklch(35.64% 0.133 302.8)
XYZxyz(6.6543, 3.9589, 16.9332)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2374 #4C7423
analogous
#232374 #4B2374 #742374
triadic
#4B2374 #744B23 #23744B
tetradic
#4B2374 #742323 #4C7423 #237474
square
#4B2374 #742323 #4C7423 #237474
split-complementary
#4B2374 #747423 #237423
monochromatic
#0F0718 #2D1545 #4B2374 #6931A3 #8849C8

Accessibility & contrast

On white

11.72
#4B2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4B2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2374
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2374#FFFFFF#000000##FFFFFF
##4B23741.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#023872
Tritanopia (blue-blind)
#433548
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b2374;
/* rgb */ color: rgb(75, 35, 116);
/* oklch */ color: oklch(35.6% 0.133 302.8);
Tailwind
colors: {
  custom: {
    50: '#81619d',
    500: '#4b2374',
    950: '#000000',
  },
}
SCSS
$custom: #4b2374;
$custom-light: #81619d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2374",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 269.63,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35644,
    "c": 0.1332,
    "h": 302.8
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#4B2374
secondary
#7AA74C
accent
#DD4B95
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2374

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

Preview Lab → · Contrast checker → · Palette generator →

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