#4B1470#4B1470

#4B1470 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.148 H 307.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#4B1470
RGBrgb(75, 20, 112)
HSLhsl(276, 70%, 26%)
HSVhsv(276, 82%, 44%)
CMYKcmyk(33%, 82.1%, 0%, 56.1%)
CIE-LABlab(20.70, 41.74, -41.42)
CIE-LCHlch(20.70, 58.81, 315.22°)
OKLaboklab(33.53% 0.0888 -0.1178)
OKLCHoklch(33.53% 0.148 307)
XYZxyz(6.0758, 3.1661, 15.6171)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1470 #397014
analogous
#1D1470 #4B1470 #701467
triadic
#4B1470 #704B14 #14704B
tetradic
#4B1470 #701D14 #397014 #146770
square
#4B1470 #701D14 #397014 #146770
split-complementary
#4B1470 #677014 #14701D
monochromatic
#11051A #280B3C #4B1470 #6E1DA4 #9127D8

Accessibility & contrast

On white

12.86
#4B1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1470
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1470#FFFFFF#000000##FFFFFF
##4B14701.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#452C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1470;
/* rgb */ color: rgb(75, 20, 112);
/* oklch */ color: oklch(33.5% 0.148 307.0);
Tailwind
colors: {
  custom: {
    50: '#82599a',
    500: '#4b1470',
    950: '#000000',
  },
}
SCSS
$custom: #4b1470;
$custom-light: #82599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1470",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 275.87,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33529,
    "c": 0.14757,
    "h": 307
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#4B1470
secondary
#65A639
accent
#ED3B83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1470

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

Preview Lab → · Contrast checker → · Palette generator →

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