#4A1689#4A1689

#4A1689 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.172 H 297.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#4A1689
RGBrgb(74, 22, 137)
HSLhsl(267, 72%, 31%)
HSVhsv(267, 84%, 54%)
CMYKcmyk(46%, 83.9%, 0%, 46.3%)
CIE-LABlab(23.12, 47.02, -53.37)
CIE-LCHlch(23.12, 71.13, 311.38°)
OKLaboklab(35.89% 0.0778 -0.1529)
OKLCHoklch(35.89% 0.172 297)
XYZxyz(7.6251, 3.8356, 24.0007)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1689 #558916
analogous
#161C89 #4A1689 #831689
triadic
#4A1689 #894A16 #16894A
tetradic
#4A1689 #89161C #558916 #168983
square
#4A1689 #89161C #558916 #168983
split-complementary
#4A1689 #898316 #1C8916
monochromatic
#110520 #2E0E54 #4A1689 #661EBE #853ADF

Accessibility & contrast

On white

11.88
#4A1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4A1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1689
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1689#FFFFFF#000000##FFFFFF
##4A16891.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#393851
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a1689;
/* rgb */ color: rgb(74, 22, 137);
/* oklch */ color: oklch(35.9% 0.172 297.0);
Tailwind
colors: {
  custom: {
    50: '#845bac',
    500: '#4a1689',
    950: '#000000',
  },
}
SCSS
$custom: #4a1689;
$custom-light: #845bac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1689",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 267.13,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.17159,
    "h": 297
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#4A1689
secondary
#83BD3E
accent
#EF399D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4A1689

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

Preview Lab → · Contrast checker → · Palette generator →

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