#4A1263#4A1263

#4A1263 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.136 H 312.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4A1263
RGBrgb(74, 18, 99)
HSLhsl(281, 69%, 23%)
HSVhsv(281, 82%, 39%)
CMYKcmyk(25.3%, 81.8%, 0%, 61.2%)
CIE-LABlab(19.18, 39.29, -35.40)
CIE-LCHlch(19.18, 52.88, 317.98°)
OKLaboklab(32.09% 0.0923 -0.1001)
OKLCHoklch(32.09% 0.136 312.7)
XYZxyz(5.2921, 2.7895, 12.0616)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1263 #2B6312
analogous
#211263 #4A1263 #631254
triadic
#4A1263 #634A12 #12634A
tetradic
#4A1263 #632112 #2B6312 #125463
square
#4A1263 #632112 #2B6312 #125463
split-complementary
#4A1263 #546312 #126321
monochromatic
#13051A #23092F #4A1263 #711B97 #9725CB

Accessibility & contrast

On white

13.48
#4A1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4A1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1263
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1263#FFFFFF#000000##FFFFFF
##4A12631.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#063061
Tritanopia (blue-blind)
#47253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1263;
/* rgb */ color: rgb(74, 18, 99);
/* oklch */ color: oklch(32.1% 0.136 312.7);
Tailwind
colors: {
  custom: {
    50: '#805790',
    500: '#4a1263',
    950: '#000000',
  },
}
SCSS
$custom: #4a1263;
$custom-light: #805790;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1263",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 281.481,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32092,
    "c": 0.13618,
    "h": 312.7
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#4A1263
secondary
#559B36
accent
#EC3C72
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A1263

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

Preview Lab → · Contrast checker → · Palette generator →

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