#4A1063#4A1063

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

Color values

HEX#4A1063
RGBrgb(74, 16, 99)
HSLhsl(282, 72%, 23%)
HSVhsv(282, 84%, 39%)
CMYKcmyk(25.3%, 83.8%, 0%, 61.2%)
CIE-LABlab(18.92, 40.05, -35.82)
CIE-LCHlch(18.92, 53.73, 318.19°)
OKLaboklab(31.91% 0.0941 -0.1014)
OKLCHoklch(31.91% 0.138 312.9)
XYZxyz(5.2611, 2.7274, 12.0513)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1063 #296310
analogous
#211063 #4A1063 #631052
triadic
#4A1063 #634A10 #10634A
tetradic
#4A1063 #632110 #296310 #105263
square
#4A1063 #632110 #296310 #105263
split-complementary
#4A1063 #526310 #106321
monochromatic
#14041A #23072E #4A1063 #711998 #9921CC

Accessibility & contrast

On white

13.59
#4A1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4A1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1063
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1063#FFFFFF#000000##FFFFFF
##4A10631.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#042F61
Tritanopia (blue-blind)
#47243A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a1063;
/* rgb */ color: rgb(74, 16, 99);
/* oklch */ color: oklch(31.9% 0.138 312.9);
Tailwind
colors: {
  custom: {
    50: '#805690',
    500: '#4a1063',
    950: '#000000',
  },
}
SCSS
$custom: #4a1063;
$custom-light: #805690;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1063",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 281.928,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31907,
    "c": 0.13834,
    "h": 312.9
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#4A1063
secondary
#539C33
accent
#EF3970
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A1063

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

Preview Lab → · Contrast checker → · Palette generator →

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