#4A0F62#4A0F62

#4A0F62 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.138 H 313.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#4A0F62
RGBrgb(74, 15, 98)
HSLhsl(283, 73%, 22%)
HSVhsv(283, 85%, 38%)
CMYKcmyk(24.5%, 84.7%, 0%, 61.6%)
CIE-LABlab(18.71, 40.18, -35.50)
CIE-LCHlch(18.71, 53.61, 318.54°)
OKLaboklab(31.74% 0.0952 -0.1004)
OKLCHoklch(31.74% 0.138 313.5)
XYZxyz(5.1991, 2.6795, 11.7962)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F62 #27620F
analogous
#210F62 #4A0F62 #620F50
triadic
#4A0F62 #624A0F #0F624A
tetradic
#4A0F62 #62210F #27620F #0F5062
square
#4A0F62 #62210F #27620F #0F5062
split-complementary
#4A0F62 #50620F #0F6221
monochromatic
#14041B #22072D #4A0F62 #721797 #9A1FCC

Accessibility & contrast

On white

13.67
#4A0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F62
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F62#FFFFFF#000000##FFFFFF
##4A0F621.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#052F60
Tritanopia (blue-blind)
#472339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a0f62;
/* rgb */ color: rgb(74, 15, 98);
/* oklch */ color: oklch(31.7% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#80568f',
    500: '#4a0f62',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f62;
$custom-light: #80568f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f62",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 282.651,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.13839,
    "h": 313.5
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#4A0F62
secondary
#509B32
accent
#F0386D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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