#4B1073#4B1073

#4B1073 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.154 H 306.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4B1073
RGBrgb(75, 16, 115)
HSLhsl(276, 76%, 26%)
HSVhsv(276, 86%, 45%)
CMYKcmyk(34.8%, 86.1%, 0%, 54.9%)
CIE-LABlab(20.46, 43.92, -43.75)
CIE-LCHlch(20.46, 61.99, 315.11°)
OKLaboklab(33.44% 0.0912 -0.1246)
OKLCHoklch(33.44% 0.154 306.2)
XYZxyz(6.1808, 3.1043, 16.4899)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1073 #387310
analogous
#1A1073 #4B1073 #731069
triadic
#4B1073 #734B10 #10734B
tetradic
#4B1073 #731A10 #387310 #106973
square
#4B1073 #731A10 #387310 #106973
split-complementary
#4B1073 #697310 #10731A
monochromatic
#12041B #28093D #4B1073 #6E17A9 #911FDE

Accessibility & contrast

On white

12.96
#4B1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1073
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1073#FFFFFF#000000##FFFFFF
##4B10731.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#442B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1073;
/* rgb */ color: rgb(75, 16, 115);
/* oklch */ color: oklch(33.4% 0.154 306.2);
Tailwind
colors: {
  custom: {
    50: '#82579c',
    500: '#4b1073',
    950: '#000000',
  },
}
SCSS
$custom: #4b1073;
$custom-light: #82579c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1073",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 275.758,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33444,
    "c": 0.15447,
    "h": 306.2
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#4B1073
secondary
#64AA34
accent
#F23682
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1073

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

Preview Lab → · Contrast checker → · Palette generator →

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