#4A0F66#4A0F66

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

Color values

HEX#4A0F66
RGBrgb(74, 15, 102)
HSLhsl(281, 74%, 23%)
HSVhsv(281, 85%, 40%)
CMYKcmyk(27.5%, 85.3%, 0%, 60%)
CIE-LABlab(19.04, 41.08, -37.60)
CIE-LCHlch(19.04, 55.69, 317.54°)
OKLaboklab(32.07% 0.0943 -0.1066)
OKLCHoklch(32.07% 0.142 311.5)
XYZxyz(5.3927, 2.7569, 12.8159)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F66 #2B660F
analogous
#1F0F66 #4A0F66 #660F56
triadic
#4A0F66 #664A0F #0F664A
tetradic
#4A0F66 #661F0F #2B660F #0F5666
square
#4A0F66 #661F0F #2B660F #0F5666
split-complementary
#4A0F66 #56660F #0F661F
monochromatic
#13041B #230731 #4A0F66 #71179B #971FD1

Accessibility & contrast

On white

13.54
#4A0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F66
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F66#FFFFFF#000000##FFFFFF
##4A0F661.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#46253B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a0f66;
/* rgb */ color: rgb(74, 15, 102);
/* oklch */ color: oklch(32.1% 0.142 311.5);
Tailwind
colors: {
  custom: {
    50: '#805692',
    500: '#4a0f66',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f66;
$custom-light: #805692;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f66",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 280.69,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.1423,
    "h": 311.5
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#4A0F66
secondary
#559F32
accent
#F13773
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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