#4B0F71#4B0F71

#4B0F71 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.153 H 307.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4B0F71
RGBrgb(75, 15, 113)
HSLhsl(277, 77%, 25%)
HSVhsv(277, 87%, 44%)
CMYKcmyk(33.6%, 86.7%, 0%, 55.7%)
CIE-LABlab(20.16, 43.79, -42.94)
CIE-LCHlch(20.16, 61.33, 315.56°)
OKLaboklab(33.18% 0.0926 -0.1222)
OKLCHoklch(33.18% 0.153 307.1)
XYZxyz(6.0525, 3.0298, 15.8856)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F71 #35710F
analogous
#1A0F71 #4B0F71 #710F66
triadic
#4B0F71 #714B0F #0F714B
tetradic
#4B0F71 #711A0F #35710F #0F6671
square
#4B0F71 #711A0F #35710F #0F6671
split-complementary
#4B0F71 #66710F #0F711A
monochromatic
#12041B #27083B #4B0F71 #6F16A7 #931DDD

Accessibility & contrast

On white

13.08
#4B0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B0F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F71
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F71#FFFFFF#000000##FFFFFF
##4B0F711.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#442A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b0f71;
/* rgb */ color: rgb(75, 15, 113);
/* oklch */ color: oklch(33.2% 0.153 307.1);
Tailwind
colors: {
  custom: {
    50: '#82579b',
    500: '#4b0f71',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f71;
$custom-light: #82579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f71",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 276.735,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.15337,
    "h": 307.1
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#4B0F71
secondary
#61A933
accent
#F3357F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4B0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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