#4A1167#4A1167

#4A1167 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.141 H 310.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1167
RGBrgb(74, 17, 103)
HSLhsl(280, 72%, 24%)
HSVhsv(280, 83%, 40%)
CMYKcmyk(28.2%, 83.5%, 0%, 59.6%)
CIE-LABlab(19.38, 40.59, -37.71)
CIE-LCHlch(19.38, 55.41, 317.10°)
OKLaboklab(32.33% 0.0923 -0.1069)
OKLCHoklch(32.33% 0.141 310.8)
XYZxyz(5.4722, 2.8361, 13.0885)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1167 #2E6711
analogous
#1F1167 #4A1167 #671159
triadic
#4A1167 #674A11 #11674A
tetradic
#4A1167 #671F11 #2E6711 #115967
square
#4A1167 #671F11 #2E6711 #115967
split-complementary
#4A1167 #596711 #11671F
monochromatic
#13041A #240832 #4A1167 #701A9C #9522D0

Accessibility & contrast

On white

13.40
#4A1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1167
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1167#FFFFFF#000000##FFFFFF
##4A11671.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#46273C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1167;
/* rgb */ color: rgb(74, 17, 103);
/* oklch */ color: oklch(32.3% 0.141 310.8);
Tailwind
colors: {
  custom: {
    50: '#805793',
    500: '#4a1167',
    950: '#000000',
  },
}
SCSS
$custom: #4a1167;
$custom-light: #805793;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1167",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 279.767,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32332,
    "c": 0.14127,
    "h": 310.8
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#4A1167
secondary
#599F35
accent
#EE3976
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A1167

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

Preview Lab → · Contrast checker → · Palette generator →

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