#3A1475#3A1475

#3A1475 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.150 H 293.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3A1475
RGBrgb(58, 20, 117)
HSLhsl(264, 71%, 27%)
HSVhsv(264, 83%, 46%)
CMYKcmyk(50.4%, 82.9%, 0%, 54.1%)
CIE-LABlab(18.73, 40.17, -47.96)
CIE-LCHlch(18.73, 62.56, 309.95°)
OKLaboklab(31.78% 0.0602 -0.1377)
OKLCHoklch(31.78% 0.15 293.6)
XYZxyz(5.2051, 2.6840, 17.0700)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1475 #4F7514
analogous
#141F75 #3A1475 #6B1475
triadic
#3A1475 #753A14 #14753A
tetradic
#3A1475 #75141F #4F7514 #14756B
square
#3A1475 #75141F #4F7514 #14756B
split-complementary
#3A1475 #756B14 #1F7514
monochromatic
#0D041A #200B41 #3A1475 #541DA9 #6E29DA

Accessibility & contrast

On white

13.66
#3A1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3A1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1475
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1475#FFFFFF#000000##FFFFFF
##3A14751.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#283045
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a1475;
/* rgb */ color: rgb(58, 20, 117);
/* oklch */ color: oklch(31.8% 0.150 293.6);
Tailwind
colors: {
  custom: {
    50: '#77579e',
    500: '#3a1475',
    950: '#000000',
  },
}
SCSS
$custom: #3a1475;
$custom-light: #77579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1475",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 263.505,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31777,
    "c": 0.15024,
    "h": 293.6
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#3A1475
secondary
#7FAB3A
accent
#EE3AA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1475

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

Preview Lab → · Contrast checker → · Palette generator →

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