#3A1375#3A1375

#3A1375 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.151 H 293.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#3A1375
RGBrgb(58, 19, 117)
HSLhsl(264, 72%, 27%)
HSVhsv(264, 84%, 46%)
CMYKcmyk(50.4%, 83.8%, 0%, 54.1%)
CIE-LABlab(18.58, 40.61, -48.21)
CIE-LCHlch(18.58, 63.03, 310.11°)
OKLaboklab(31.67% 0.0609 -0.1384)
OKLCHoklch(31.67% 0.151 293.8)
XYZxyz(5.1878, 2.6495, 17.0642)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1375 #4E7513
analogous
#131D75 #3A1375 #6B1375
triadic
#3A1375 #753A13 #13753A
tetradic
#3A1375 #75131D #4E7513 #13756B
square
#3A1375 #75131D #4E7513 #13756B
split-complementary
#3A1375 #756B13 #1D7513
monochromatic
#0D041A #200A40 #3A1375 #541CAA #6F27DC

Accessibility & contrast

On white

13.73
#3A1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1375
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1375#FFFFFF#000000##FFFFFF
##3A13751.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#283045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a1375;
/* rgb */ color: rgb(58, 19, 117);
/* oklch */ color: oklch(31.7% 0.151 293.8);
Tailwind
colors: {
  custom: {
    50: '#77579e',
    500: '#3a1375',
    950: '#000000',
  },
}
SCSS
$custom: #3a1375;
$custom-light: #77579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1375",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 263.878,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.15119,
    "h": 293.8
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#3A1375
secondary
#7EAB38
accent
#EF39A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1375

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

Preview Lab → · Contrast checker → · Palette generator →

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