#3A1575#3A1575

#3A1575 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.149 H 293.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#3A1575
RGBrgb(58, 21, 117)
HSLhsl(263, 70%, 27%)
HSVhsv(263, 82%, 46%)
CMYKcmyk(50.4%, 82.1%, 0%, 54.1%)
CIE-LABlab(18.89, 39.72, -47.71)
CIE-LCHlch(18.89, 62.08, 309.78°)
OKLaboklab(31.89% 0.0594 -0.1369)
OKLCHoklch(31.89% 0.149 293.4)
XYZxyz(5.2231, 2.7201, 17.0760)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1575 #507515
analogous
#152075 #3A1575 #6A1575
triadic
#3A1575 #753A15 #15753A
tetradic
#3A1575 #751520 #507515 #15756A
square
#3A1575 #751520 #507515 #15756A
split-complementary
#3A1575 #756A15 #207515
monochromatic
#0D051A #200C41 #3A1575 #541EA9 #6E2BD9

Accessibility & contrast

On white

13.60
#3A1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1575
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1575#FFFFFF#000000##FFFFFF
##3A15751.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1575;
/* rgb */ color: rgb(58, 21, 117);
/* oklch */ color: oklch(31.9% 0.149 293.4);
Tailwind
colors: {
  custom: {
    50: '#77589e',
    500: '#3a1575',
    950: '#000000',
  },
}
SCSS
$custom: #3a1575;
$custom-light: #77589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1575",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 263.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.14925,
    "h": 293.4
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#3A1575
secondary
#80AB3B
accent
#EC3BA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1575

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

Preview Lab → · Contrast checker → · Palette generator →

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