#4B0F62#4B0F62

#4B0F62 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.139 H 314.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4B0F62
RGBrgb(75, 15, 98)
HSLhsl(283, 73%, 22%)
HSVhsv(283, 85%, 38%)
CMYKcmyk(23.5%, 84.7%, 0%, 61.6%)
CIE-LABlab(18.88, 40.38, -35.21)
CIE-LCHlch(18.88, 53.58, 318.91°)
OKLaboklab(31.89% 0.0967 -0.0995)
OKLCHoklch(31.89% 0.139 314.2)
XYZxyz(5.2767, 2.7195, 11.7999)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F62 #26620F
analogous
#210F62 #4B0F62 #620F50
triadic
#4B0F62 #624B0F #0F624B
tetradic
#4B0F62 #62210F #26620F #0F5062
square
#4B0F62 #62210F #26620F #0F5062
split-complementary
#4B0F62 #50620F #0F6221
monochromatic
#14041B #22072D #4B0F62 #741797 #9C1FCC

Accessibility & contrast

On white

13.60
#4B0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4B0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F62
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F62#FFFFFF#000000##FFFFFF
##4B0F621.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#072F60
Tritanopia (blue-blind)
#492339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b0f62;
/* rgb */ color: rgb(75, 15, 98);
/* oklch */ color: oklch(31.9% 0.139 314.2);
Tailwind
colors: {
  custom: {
    50: '#81568f',
    500: '#4b0f62',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f62;
$custom-light: #81568f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f62",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 283.373,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31892,
    "c": 0.13875,
    "h": 314.2
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#4B0F62
secondary
#4F9B32
accent
#F0386B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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