#4A0F4E#4A0F4E

#4A0F4E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.2% C 0.119 H 325.2°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4A0F4E
RGBrgb(74, 15, 78)
HSLhsl(296, 68%, 18%)
HSVhsv(296, 81%, 31%)
CMYKcmyk(5.1%, 80.8%, 0%, 69.4%)
CIE-LABlab(17.22, 35.95, -24.46)
CIE-LCHlch(17.22, 43.48, 325.77°)
OKLaboklab(30.2% 0.098 -0.0681)
OKLCHoklch(30.2% 0.119 325.2)
XYZxyz(4.3699, 2.3478, 7.4293)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F4E #134E0F
analogous
#2A0F4E #4A0F4E #4E0F32
triadic
#4A0F4E #4E4A0F #0F4E4A
tetradic
#4A0F4E #4E2A0F #134E0F #0F324E
square
#4A0F4E #4E2A0F #134E0F #0F324E
split-complementary
#4A0F4E #324E0F #0F4E2A
monochromatic
#18051A #19051B #4A0F4E #7B1981 #AB23B5

Accessibility & contrast

On white

14.29
#4A0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4A0F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F4E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F4E#FFFFFF#000000##FFFFFF
##4A0F4E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#1C2D4C
Tritanopia (blue-blind)
#4C1A2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0f4e;
/* rgb */ color: rgb(74, 15, 78);
/* oklch */ color: oklch(30.2% 0.119 325.2);
Tailwind
colors: {
  custom: {
    50: '#7f5580',
    500: '#4a0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f4e;
$custom-light: #7f5580;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f4e",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 296.19,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30204,
    "c": 0.11935,
    "h": 325.2
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#4A0F4E
secondary
#368831
accent
#EB3D48
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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