#4A106A#4A106A

#4A106A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.145 H 309.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#4A106A
RGBrgb(74, 16, 106)
HSLhsl(279, 74%, 24%)
HSVhsv(279, 85%, 42%)
CMYKcmyk(30.2%, 84.9%, 0%, 58.4%)
CIE-LABlab(19.50, 41.65, -39.47)
CIE-LCHlch(19.50, 57.38, 316.54°)
OKLaboklab(32.5% 0.0924 -0.1121)
OKLCHoklch(32.5% 0.145 309.5)
XYZxyz(5.6103, 2.8671, 13.8907)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A106A #306A10
analogous
#1D106A #4A106A #6A105D
triadic
#4A106A #6A4A10 #106A4A
tetradic
#4A106A #6A1D10 #306A10 #105D6A
square
#4A106A #6A1D10 #306A10 #105D6A
split-complementary
#4A106A #5D6A10 #106A1D
monochromatic
#13041B #250835 #4A106A #6F189F #9420D4

Accessibility & contrast

On white

13.35
#4A106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A106A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A106A#FFFFFF#000000##FFFFFF
##4A106A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#45273E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a106a;
/* rgb */ color: rgb(74, 16, 106);
/* oklch */ color: oklch(32.5% 0.145 309.5);
Tailwind
colors: {
  custom: {
    50: '#815795',
    500: '#4a106a',
    950: '#000000',
  },
}
SCSS
$custom: #4a106a;
$custom-light: #815795;
$custom-dark: #000000;
JSON
{
  "hex": "#4a106a",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 278.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.14526,
    "h": 309.5
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#4A106A
secondary
#5BA234
accent
#F03779
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A106A

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

Preview Lab → · Contrast checker → · Palette generator →

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