#4A0F4F#4A0F4F

#4A0F4F is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.3% C 0.120 H 324.6°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#4A0F4F
RGBrgb(74, 15, 79)
HSLhsl(295, 68%, 18%)
HSVhsv(295, 81%, 31%)
CMYKcmyk(6.3%, 81%, 0%, 69%)
CIE-LABlab(17.28, 36.15, -25.03)
CIE-LCHlch(17.28, 43.97, 325.30°)
OKLaboklab(30.27% 0.098 -0.0698)
OKLCHoklch(30.27% 0.12 324.6)
XYZxyz(4.4060, 2.3623, 7.6195)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F4F #144F0F
analogous
#2A0F4F #4A0F4F #4F0F34
triadic
#4A0F4F #4F4A0F #0F4F4A
tetradic
#4A0F4F #4F2A0F #144F0F #0F344F
square
#4A0F4F #4F2A0F #144F0F #0F344F
split-complementary
#4A0F4F #344F0F #0F4F2A
monochromatic
#18051A #1A051C #4A0F4F #7A1982 #AA23B6

Accessibility & contrast

On white

14.26
#4A0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F4F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F4F#FFFFFF#000000##FFFFFF
##4A0F4F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0f4f;
/* rgb */ color: rgb(74, 15, 79);
/* oklch */ color: oklch(30.3% 0.120 324.6);
Tailwind
colors: {
  custom: {
    50: '#7f5581',
    500: '#4a0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f4f;
$custom-light: #7f5581;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f4f",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 295.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.12027,
    "h": 324.6
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#4A0F4F
secondary
#388931
accent
#EB3D4A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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