#4B0F64#4B0F64

#4B0F64 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.141 H 313.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4B0F64
RGBrgb(75, 15, 100)
HSLhsl(282, 74%, 23%)
HSVhsv(282, 85%, 39%)
CMYKcmyk(25%, 85%, 0%, 60.8%)
CIE-LABlab(19.05, 40.82, -36.27)
CIE-LCHlch(19.05, 54.61, 318.38°)
OKLaboklab(32.06% 0.0962 -0.1026)
OKLCHoklch(32.06% 0.141 313.1)
XYZxyz(5.3723, 2.7578, 12.3034)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F64 #28640F
analogous
#210F64 #4B0F64 #640F52
triadic
#4B0F64 #644B0F #0F644B
tetradic
#4B0F64 #64210F #28640F #0F5264
square
#4B0F64 #64210F #28640F #0F5264
split-complementary
#4B0F64 #52640F #0F6421
monochromatic
#14041B #23072F #4B0F64 #731799 #9B1FCE

Accessibility & contrast

On white

13.53
#4B0F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4B0F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F64
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F64#FFFFFF#000000##FFFFFF
##4B0F641.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#032F62
Tritanopia (blue-blind)
#48243A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b0f64;
/* rgb */ color: rgb(75, 15, 100);
/* oklch */ color: oklch(32.1% 0.141 313.1);
Tailwind
colors: {
  custom: {
    50: '#815691',
    500: '#4b0f64',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f64;
$custom-light: #815691;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f64",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 100
  },
  "hsl": {
    "h": 282.353,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.14068,
    "h": 313.1
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#4B0F64
secondary
#519D32
accent
#F1376E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4B0F64

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

Preview Lab → · Contrast checker → · Palette generator →

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