#4A0F43#4A0F43

#4A0F43 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.110 H 333.3°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#4A0F43
RGBrgb(74, 15, 67)
HSLhsl(307, 66%, 17%)
HSVhsv(307, 80%, 29%)
CMYKcmyk(0%, 79.7%, 9.5%, 71%)
CIE-LABlab(16.52, 33.87, -17.97)
CIE-LCHlch(16.52, 38.34, 332.05°)
OKLaboklab(29.48% 0.0978 -0.0493)
OKLCHoklch(29.48% 0.11 333.3)
XYZxyz(4.0080, 2.2031, 5.5232)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F43 #0F4A16
analogous
#340F4A #4A0F43 #4A0F25
triadic
#4A0F43 #434A0F #0F434A
tetradic
#4A0F43 #4A340F #0F4A16 #0F254A
square
#4A0F43 #4A340F #0F4A16 #0F254A
split-complementary
#4A0F43 #254A0F #0F4A34
monochromatic
#190517 #190517 #4A0F43 #7D1971 #B0249F

Accessibility & contrast

On white

14.58
#4A0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F43
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F43#FFFFFF#000000##FFFFFF
##4A0F431.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2344
Deuteranopia (green-blind)
#232C42
Tritanopia (blue-blind)
#4E1527
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0f43;
/* rgb */ color: rgb(74, 15, 67);
/* oklch */ color: oklch(29.5% 0.110 333.3);
Tailwind
colors: {
  custom: {
    50: '#7f5477',
    500: '#4a0f43',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f43;
$custom-light: #7f5477;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f43",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 307.119,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29479,
    "c": 0.10955,
    "h": 333.3
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#4A0F43
secondary
#30843A
accent
#E9533F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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