#4B1475#4B1475

#4B1475 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.153 H 304.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#4B1475
RGBrgb(75, 20, 117)
HSLhsl(274, 71%, 27%)
HSVhsv(274, 83%, 46%)
CMYKcmyk(35.9%, 82.9%, 0%, 54.1%)
CIE-LABlab(21.13, 42.95, -43.93)
CIE-LCHlch(21.13, 61.44, 314.35°)
OKLaboklab(33.97% 0.0875 -0.1252)
OKLCHoklch(33.97% 0.153 304.9)
XYZxyz(6.3620, 3.2806, 17.1242)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1475 #3E7514
analogous
#1B1475 #4B1475 #75146F
triadic
#4B1475 #754B14 #14754B
tetradic
#4B1475 #751B14 #3E7514 #146F75
square
#4B1475 #751B14 #3E7514 #146F75
split-complementary
#4B1475 #6F7514 #14751B
monochromatic
#11041A #290B41 #4B1475 #6D1DA9 #8E29DA

Accessibility & contrast

On white

12.68
#4B1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4B1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1475
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1475#FFFFFF#000000##FFFFFF
##4B14751.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#432E45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1475;
/* rgb */ color: rgb(75, 20, 117);
/* oklch */ color: oklch(34.0% 0.153 304.9);
Tailwind
colors: {
  custom: {
    50: '#82599e',
    500: '#4b1475',
    950: '#000000',
  },
}
SCSS
$custom: #4b1475;
$custom-light: #82599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1475",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 274.021,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33971,
    "c": 0.15273,
    "h": 304.9
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#4B1475
secondary
#6BAB3A
accent
#EE3A88
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1475

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

Preview Lab → · Contrast checker → · Palette generator →

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