#4B0F6A#4B0F6A

#4B0F6A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.147 H 310.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4B0F6A
RGBrgb(75, 15, 106)
HSLhsl(280, 75%, 24%)
HSVhsv(280, 86%, 42%)
CMYKcmyk(29.2%, 85.8%, 0%, 58.4%)
CIE-LABlab(19.55, 42.18, -39.39)
CIE-LCHlch(19.55, 57.71, 316.96°)
OKLaboklab(32.57% 0.0947 -0.1118)
OKLCHoklch(32.57% 0.147 310.3)
XYZxyz(5.6735, 2.8782, 13.8896)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F6A #2E6A0F
analogous
#1D0F6A #4B0F6A #6A0F5B
triadic
#4B0F6A #6A4B0F #0F6A4B
tetradic
#4B0F6A #6A1D0F #2E6A0F #0F5B6A
square
#4B0F6A #6A1D0F #2E6A0F #0F5B6A
split-complementary
#4B0F6A #5B6A0F #0F6A1D
monochromatic
#13041B #250734 #4B0F6A #7117A0 #971ED5

Accessibility & contrast

On white

13.33
#4B0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F6A
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F6A#FFFFFF#000000##FFFFFF
##4B0F6A1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#47273E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b0f6a;
/* rgb */ color: rgb(75, 15, 106);
/* oklch */ color: oklch(32.6% 0.147 310.3);
Tailwind
colors: {
  custom: {
    50: '#815795',
    500: '#4b0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f6a;
$custom-light: #815795;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f6a",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 279.56,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32567,
    "c": 0.14651,
    "h": 310.3
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#4B0F6A
secondary
#59A232
accent
#F23676
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4B0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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