#4A106F#4A106F

#4A106F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.150 H 307.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4A106F
RGBrgb(74, 16, 111)
HSLhsl(277, 75%, 25%)
HSVhsv(277, 86%, 44%)
CMYKcmyk(33.3%, 85.6%, 0%, 56.5%)
CIE-LABlab(19.94, 42.81, -42.01)
CIE-LCHlch(19.94, 59.98, 315.54°)
OKLaboklab(32.94% 0.091 -0.1196)
OKLCHoklch(32.94% 0.15 307.3)
XYZxyz(5.8780, 2.9742, 15.3003)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A106F #356F10
analogous
#1B106F #4A106F #6F1064
triadic
#4A106F #6F4A10 #106F4A
tetradic
#4A106F #6F1B10 #356F10 #10646F
square
#4A106F #6F1B10 #356F10 #10646F
split-complementary
#4A106F #646F10 #106F1B
monochromatic
#12041B #26083A #4A106F #6E18A4 #911FDA

Accessibility & contrast

On white

13.17
#4A106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A106F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A106F#FFFFFF#000000##FFFFFF
##4A106F1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#442A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a106f;
/* rgb */ color: rgb(74, 16, 111);
/* oklch */ color: oklch(32.9% 0.150 307.3);
Tailwind
colors: {
  custom: {
    50: '#815799',
    500: '#4a106f',
    950: '#000000',
  },
}
SCSS
$custom: #4a106f;
$custom-light: #815799;
$custom-dark: #000000;
JSON
{
  "hex": "#4a106f",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 276.632,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.15023,
    "h": 307.3
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#4A106F
secondary
#61A734
accent
#F1367F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A106F

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

Preview Lab → · Contrast checker → · Palette generator →

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