#4B1970#4B1970

#4B1970 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.142 H 306.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4B1970
RGBrgb(75, 25, 112)
HSLhsl(274, 64%, 27%)
HSVhsv(274, 78%, 44%)
CMYKcmyk(33%, 77.7%, 0%, 56.1%)
CIE-LABlab(21.44, 39.63, -40.22)
CIE-LCHlch(21.44, 56.46, 314.57°)
OKLaboklab(34.05% 0.0841 -0.1143)
OKLCHoklch(34.05% 0.142 306.3)
XYZxyz(6.1733, 3.3610, 15.6496)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1970 #3E7019
analogous
#201970 #4B1970 #70196A
triadic
#4B1970 #704B19 #19704B
tetradic
#4B1970 #702019 #3E7019 #196A70
square
#4B1970 #702019 #3E7019 #196A70
split-complementary
#4B1970 #6A7019 #197020
monochromatic
#110619 #290E3E #4B1970 #6D24A2 #8E32D1

Accessibility & contrast

On white

12.56
#4B1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4B1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1970
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1970#FFFFFF#000000##FFFFFF
##4B19701.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#442E43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1970;
/* rgb */ color: rgb(75, 25, 112);
/* oklch */ color: oklch(34.0% 0.142 306.3);
Tailwind
colors: {
  custom: {
    50: '#815b9a',
    500: '#4b1970',
    950: '#000000',
  },
}
SCSS
$custom: #4b1970;
$custom-light: #815b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1970",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 274.483,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34048,
    "c": 0.14191,
    "h": 306.3
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#4B1970
secondary
#6BA540
accent
#E74188
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1970

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

Preview Lab → · Contrast checker → · Palette generator →

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