#3A1473#3A1473

#3A1473 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.148 H 294.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#3A1473
RGBrgb(58, 20, 115)
HSLhsl(264, 70%, 26%)
HSVhsv(264, 83%, 45%)
CMYKcmyk(49.6%, 82.6%, 0%, 54.9%)
CIE-LABlab(18.53, 39.62, -47.00)
CIE-LCHlch(18.53, 61.47, 310.13°)
OKLaboklab(31.57% 0.0609 -0.1348)
OKLCHoklch(31.57% 0.148 294.3)
XYZxyz(5.0887, 2.6375, 16.4573)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1473 #4D7314
analogous
#141E73 #3A1473 #6A1473
triadic
#3A1473 #733A14 #14733A
tetradic
#3A1473 #73141E #4D7314 #14736A
square
#3A1473 #73141E #4D7314 #14736A
split-complementary
#3A1473 #736A14 #1E7314
monochromatic
#0D051A #200B3F #3A1473 #541DA7 #6F28DA

Accessibility & contrast

On white

13.75
#3A1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3A1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1473
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1473#FFFFFF#000000##FFFFFF
##3A14731.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#292F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a1473;
/* rgb */ color: rgb(58, 20, 115);
/* oklch */ color: oklch(31.6% 0.148 294.3);
Tailwind
colors: {
  custom: {
    50: '#77579c',
    500: '#3a1473',
    950: '#000000',
  },
}
SCSS
$custom: #3a1473;
$custom-light: #77579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1473",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 264,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.14794,
    "h": 294.3
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#3A1473
secondary
#7DA93A
accent
#ED3BA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1473

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

Preview Lab → · Contrast checker → · Palette generator →

#3A1473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva