#4A0F71#4A0F71

#4A0F71 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.153 H 306.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4A0F71
RGBrgb(74, 15, 113)
HSLhsl(276, 77%, 25%)
HSVhsv(276, 87%, 44%)
CMYKcmyk(34.5%, 86.7%, 0%, 55.7%)
CIE-LABlab(20.00, 43.62, -43.21)
CIE-LCHlch(20.00, 61.40, 315.27°)
OKLaboklab(33.04% 0.0911 -0.1231)
OKLCHoklch(33.04% 0.153 306.5)
XYZxyz(5.9748, 2.9898, 15.8819)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F71 #36710F
analogous
#190F71 #4A0F71 #710F67
triadic
#4A0F71 #714A0F #0F714A
tetradic
#4A0F71 #71190F #36710F #0F6771
square
#4A0F71 #71190F #36710F #0F6771
split-complementary
#4A0F71 #67710F #0F7119
monochromatic
#12041B #27083B #4A0F71 #6D16A7 #911DDD

Accessibility & contrast

On white

13.14
#4A0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A0F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F71
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F71#FFFFFF#000000##FFFFFF
##4A0F711.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#432A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a0f71;
/* rgb */ color: rgb(74, 15, 113);
/* oklch */ color: oklch(33.0% 0.153 306.5);
Tailwind
colors: {
  custom: {
    50: '#81579b',
    500: '#4a0f71',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f71;
$custom-light: #81579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f71",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 276.122,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.15311,
    "h": 306.5
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#4A0F71
secondary
#62A933
accent
#F33580
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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