#4B1773#4B1773

#4B1773 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.147 H 305.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#4B1773
RGBrgb(75, 23, 115)
HSLhsl(274, 67%, 27%)
HSVhsv(274, 80%, 45%)
CMYKcmyk(34.8%, 80%, 0%, 54.9%)
CIE-LABlab(21.38, 41.24, -42.24)
CIE-LCHlch(21.38, 59.04, 314.31°)
OKLaboklab(34.09% 0.0853 -0.1203)
OKLCHoklch(34.09% 0.147 305.4)
XYZxyz(6.3019, 3.3465, 16.5303)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1773 #3F7317
analogous
#1D1773 #4B1773 #73176D
triadic
#4B1773 #734B17 #17734B
tetradic
#4B1773 #731D17 #3F7317 #176D73
square
#4B1773 #731D17 #3F7317 #176D73
split-complementary
#4B1773 #6D7317 #17731D
monochromatic
#11051A #2A0D40 #4B1773 #6C21A6 #8D2FD5

Accessibility & contrast

On white

12.58
#4B1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1773
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1773#FFFFFF#000000##FFFFFF
##4B17731.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#442E44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1773;
/* rgb */ color: rgb(75, 23, 115);
/* oklch */ color: oklch(34.1% 0.147 305.4);
Tailwind
colors: {
  custom: {
    50: '#825a9c',
    500: '#4b1773',
    950: '#000000',
  },
}
SCSS
$custom: #4b1773;
$custom-light: #825a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1773",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 273.913,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34089,
    "c": 0.14746,
    "h": 305.4
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#4B1773
secondary
#6CA93D
accent
#EA3E89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1773

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

Preview Lab → · Contrast checker → · Palette generator →

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