#4A1165#4A1165

#4A1165 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.139 H 311.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#4A1165
RGBrgb(74, 17, 101)
HSLhsl(281, 71%, 23%)
HSVhsv(281, 83%, 40%)
CMYKcmyk(26.7%, 83.2%, 0%, 60.4%)
CIE-LABlab(19.21, 40.13, -36.67)
CIE-LCHlch(19.21, 54.36, 317.58°)
OKLaboklab(32.16% 0.0928 -0.1039)
OKLCHoklch(32.16% 0.139 311.8)
XYZxyz(5.3730, 2.7965, 12.5661)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1165 #2C6511
analogous
#201165 #4A1165 #651156
triadic
#4A1165 #654A11 #11654A
tetradic
#4A1165 #652011 #2C6511 #115665
square
#4A1165 #652011 #2C6511 #115665
split-complementary
#4A1165 #566511 #116520
monochromatic
#13041A #240831 #4A1165 #701A99 #9723CE

Accessibility & contrast

On white

13.47
#4A1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1165
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1165#FFFFFF#000000##FFFFFF
##4A11651.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#013063
Tritanopia (blue-blind)
#47263B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1165;
/* rgb */ color: rgb(74, 17, 101);
/* oklch */ color: oklch(32.2% 0.139 311.8);
Tailwind
colors: {
  custom: {
    50: '#805791',
    500: '#4a1165',
    950: '#000000',
  },
}
SCSS
$custom: #4a1165;
$custom-light: #805791;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1165",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 280.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32164,
    "c": 0.13927,
    "h": 311.8
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#4A1165
secondary
#569D35
accent
#EE3A74
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A1165

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

Preview Lab → · Contrast checker → · Palette generator →

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