#4B0F63#4B0F63

#4B0F63 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 32.0% C 0.140 H 313.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#4B0F63
RGBrgb(75, 15, 99)
HSLhsl(283, 74%, 22%)
HSVhsv(283, 85%, 39%)
CMYKcmyk(24.2%, 84.8%, 0%, 61.2%)
CIE-LABlab(18.96, 40.60, -35.74)
CIE-LCHlch(18.96, 54.09, 318.65°)
OKLaboklab(31.98% 0.0964 -0.1011)
OKLCHoklch(31.98% 0.14 313.7)
XYZxyz(5.3242, 2.7385, 12.0501)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F63 #27630F
analogous
#210F63 #4B0F63 #630F51
triadic
#4B0F63 #634B0F #0F634B
tetradic
#4B0F63 #63210F #27630F #0F5163
square
#4B0F63 #63210F #27630F #0F5163
split-complementary
#4B0F63 #51630F #0F6321
monochromatic
#14041B #23072E #4B0F63 #731798 #9C1FCD

Accessibility & contrast

On white

13.57
#4B0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F63
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F63#FFFFFF#000000##FFFFFF
##4B0F631.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#052F61
Tritanopia (blue-blind)
#482439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b0f63;
/* rgb */ color: rgb(75, 15, 99);
/* oklch */ color: oklch(32.0% 0.140 313.7);
Tailwind
colors: {
  custom: {
    50: '#815690',
    500: '#4b0f63',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f63;
$custom-light: #815690;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f63",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 282.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.13971,
    "h": 313.7
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#4B0F63
secondary
#509C32
accent
#F0376C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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