#4B0F76#4B0F76

#4B0F76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.158 H 305.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4B0F76
RGBrgb(75, 15, 118)
HSLhsl(275, 77%, 26%)
HSVhsv(275, 87%, 46%)
CMYKcmyk(36.4%, 87.3%, 0%, 53.7%)
CIE-LABlab(20.62, 44.96, -45.42)
CIE-LCHlch(20.62, 63.91, 314.71°)
OKLaboklab(33.64% 0.091 -0.1295)
OKLCHoklch(33.64% 0.158 305.1)
XYZxyz(6.3417, 3.1455, 17.4091)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F76 #3A760F
analogous
#170F76 #4B0F76 #760F6D
triadic
#4B0F76 #764B0F #0F764B
tetradic
#4B0F76 #76170F #3A760F #0F6D76
square
#4B0F76 #76170F #3A760F #0F6D76
split-complementary
#4B0F76 #6D760F #0F7617
monochromatic
#11031B #280840 #4B0F76 #6E16AC #901DE2

Accessibility & contrast

On white

12.89
#4B0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F76
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F76#FFFFFF#000000##FFFFFF
##4B0F761.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#432C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b0f76;
/* rgb */ color: rgb(75, 15, 118);
/* oklch */ color: oklch(33.6% 0.158 305.1);
Tailwind
colors: {
  custom: {
    50: '#83579e',
    500: '#4b0f76',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f76;
$custom-light: #83579e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f76",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 274.951,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3364,
    "c": 0.15828,
    "h": 305.1
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#4B0F76
secondary
#66AD33
accent
#F43484
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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