#4B0F66#4B0F66

#4B0F66 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.143 H 312.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#4B0F66
RGBrgb(75, 15, 102)
HSLhsl(281, 74%, 23%)
HSVhsv(281, 85%, 40%)
CMYKcmyk(26.5%, 85.3%, 0%, 60%)
CIE-LABlab(19.21, 41.27, -37.31)
CIE-LCHlch(19.21, 55.64, 317.88°)
OKLaboklab(32.23% 0.0957 -0.1057)
OKLCHoklch(32.23% 0.143 312.2)
XYZxyz(5.4703, 2.7970, 12.8195)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F66 #2A660F
analogous
#1F0F66 #4B0F66 #660F55
triadic
#4B0F66 #664B0F #0F664B
tetradic
#4B0F66 #661F0F #2A660F #0F5566
square
#4B0F66 #661F0F #2A660F #0F5566
split-complementary
#4B0F66 #55660F #0F661F
monochromatic
#14041B #240731 #4B0F66 #72179B #991FD1

Accessibility & contrast

On white

13.47
#4B0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4B0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F66
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F66#FFFFFF#000000##FFFFFF
##4B0F661.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#48253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b0f66;
/* rgb */ color: rgb(75, 15, 102);
/* oklch */ color: oklch(32.2% 0.143 312.2);
Tailwind
colors: {
  custom: {
    50: '#815692',
    500: '#4b0f66',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f66;
$custom-light: #815692;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f66",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 281.379,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32225,
    "c": 0.14262,
    "h": 312.2
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#4B0F66
secondary
#549F32
accent
#F13771
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4B0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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