#3A1471#3A1471

#3A1471 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.146 H 295.0°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#3A1471
RGBrgb(58, 20, 113)
HSLhsl(265, 70%, 26%)
HSVhsv(265, 82%, 44%)
CMYKcmyk(48.7%, 82.3%, 0%, 55.7%)
CIE-LABlab(18.33, 39.06, -46.04)
CIE-LCHlch(18.33, 60.38, 310.31°)
OKLaboklab(31.38% 0.0615 -0.132)
OKLCHoklch(31.38% 0.146 295)
XYZxyz(4.9749, 2.5920, 15.8578)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1471 #4B7114
analogous
#141C71 #3A1471 #681471
triadic
#3A1471 #713A14 #14713A
tetradic
#3A1471 #71141C #4B7114 #147168
square
#3A1471 #71141C #4B7114 #147168
split-complementary
#3A1471 #716814 #1C7114
monochromatic
#0D051A #1F0B3D #3A1471 #551DA5 #6F27D9

Accessibility & contrast

On white

13.83
#3A1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3A1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1471
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1471#FFFFFF#000000##FFFFFF
##3A14711.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#2A2E42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a1471;
/* rgb */ color: rgb(58, 20, 113);
/* oklch */ color: oklch(31.4% 0.146 295.0);
Tailwind
colors: {
  custom: {
    50: '#77579b',
    500: '#3a1471',
    950: '#000000',
  },
}
SCSS
$custom: #3a1471;
$custom-light: #77579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1471",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 264.516,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31376,
    "c": 0.14566,
    "h": 295
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#3A1471
secondary
#7AA739
accent
#ED3BA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1471

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

Preview Lab → · Contrast checker → · Palette generator →

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