#4A1062#4A1062

#4A1062 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.137 H 313.4°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#4A1062
RGBrgb(74, 16, 98)
HSLhsl(282, 72%, 22%)
HSVhsv(282, 84%, 38%)
CMYKcmyk(24.5%, 83.7%, 0%, 61.6%)
CIE-LABlab(18.84, 39.82, -35.29)
CIE-LCHlch(18.84, 53.21, 318.45°)
OKLaboklab(31.83% 0.0943 -0.0998)
OKLCHoklch(31.83% 0.137 313.4)
XYZxyz(5.2135, 2.7084, 11.8011)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1062 #286210
analogous
#211062 #4A1062 #621051
triadic
#4A1062 #624A10 #10624A
tetradic
#4A1062 #622110 #286210 #105162
square
#4A1062 #622110 #286210 #105162
split-complementary
#4A1062 #516210 #106221
monochromatic
#14041A #22072D #4A1062 #721997 #9921CB

Accessibility & contrast

On white

13.62
#4A1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1062
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1062#FFFFFF#000000##FFFFFF
##4A10621.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1062;
/* rgb */ color: rgb(74, 16, 98);
/* oklch */ color: oklch(31.8% 0.137 313.4);
Tailwind
colors: {
  custom: {
    50: '#80568f',
    500: '#4a1062',
    950: '#000000',
  },
}
SCSS
$custom: #4a1062;
$custom-light: #80568f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1062",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 282.439,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.13735,
    "h": 313.4
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#4A1062
secondary
#519B33
accent
#EF396E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A1062

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

Preview Lab → · Contrast checker → · Palette generator →

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