#4A0F45#4A0F45

#4A0F45 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.111 H 331.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#4A0F45
RGBrgb(74, 15, 69)
HSLhsl(305, 66%, 17%)
HSVhsv(305, 80%, 29%)
CMYKcmyk(0%, 79.7%, 6.8%, 71%)
CIE-LABlab(16.64, 34.23, -19.17)
CIE-LCHlch(16.64, 39.23, 330.75°)
OKLaboklab(29.6% 0.098 -0.0527)
OKLCHoklch(29.6% 0.111 331.7)
XYZxyz(4.0690, 2.2275, 5.8447)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F45 #0F4A14
analogous
#320F4A #4A0F45 #4A0F27
triadic
#4A0F45 #454A0F #0F454A
tetradic
#4A0F45 #4A320F #0F4A14 #0F274A
square
#4A0F45 #4A320F #0F4A14 #0F274A
split-complementary
#4A0F45 #274A0F #0F4A32
monochromatic
#190518 #190518 #4A0F45 #7D1974 #B024A4

Accessibility & contrast

On white

14.53
#4A0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F45
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F45#FFFFFF#000000##FFFFFF
##4A0F451.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2446
Deuteranopia (green-blind)
#222C44
Tritanopia (blue-blind)
#4D1629
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0f45;
/* rgb */ color: rgb(74, 15, 69);
/* oklch */ color: oklch(29.6% 0.111 331.7);
Tailwind
colors: {
  custom: {
    50: '#7f5479',
    500: '#4a0f45',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f45;
$custom-light: #7f5479;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f45",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 305.085,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29604,
    "c": 0.11127,
    "h": 331.7
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#4A0F45
secondary
#308438
accent
#E94D3F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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