#4B1973#4B1973

#4B1973 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.145 H 305.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#4B1973
RGBrgb(75, 25, 115)
HSLhsl(273, 64%, 27%)
HSVhsv(273, 78%, 45%)
CMYKcmyk(34.8%, 78.3%, 0%, 54.9%)
CIE-LABlab(21.69, 40.37, -41.75)
CIE-LCHlch(21.69, 58.07, 314.04°)
OKLaboklab(34.3% 0.0834 -0.1188)
OKLCHoklch(34.3% 0.145 305.1)
XYZxyz(6.3431, 3.4290, 16.5440)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1973 #417319
analogous
#1E1973 #4B1973 #73196E
triadic
#4B1973 #734B19 #19734B
tetradic
#4B1973 #731E19 #417319 #196E73
square
#4B1973 #731E19 #417319 #196E73
split-complementary
#4B1973 #6E7319 #19731E
monochromatic
#100519 #2A0E41 #4B1973 #6C24A5 #8C34D3

Accessibility & contrast

On white

12.46
#4B1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1973
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1973#FFFFFF#000000##FFFFFF
##4B19731.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#432F45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1973;
/* rgb */ color: rgb(75, 25, 115);
/* oklch */ color: oklch(34.3% 0.145 305.1);
Tailwind
colors: {
  custom: {
    50: '#825b9c',
    500: '#4b1973',
    950: '#000000',
  },
}
SCSS
$custom: #4b1973;
$custom-light: #825b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1973",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 273.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34304,
    "c": 0.14517,
    "h": 305.1
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#4B1973
secondary
#6EA840
accent
#E7418B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1973

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

Preview Lab → · Contrast checker → · Palette generator →

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