#3A1373#3A1373

#3A1373 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.149 H 294.4°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#3A1373
RGBrgb(58, 19, 115)
HSLhsl(264, 72%, 26%)
HSVhsv(264, 83%, 45%)
CMYKcmyk(49.6%, 83.5%, 0%, 54.9%)
CIE-LABlab(18.38, 40.06, -47.25)
CIE-LCHlch(18.38, 61.95, 310.29°)
OKLaboklab(31.47% 0.0616 -0.1356)
OKLCHoklch(31.47% 0.149 294.4)
XYZxyz(5.0715, 2.6029, 16.4515)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1373 #4C7313
analogous
#131C73 #3A1373 #6A1373
triadic
#3A1373 #733A13 #13733A
tetradic
#3A1373 #73131C #4C7313 #13736A
square
#3A1373 #73131C #4C7313 #13736A
split-complementary
#3A1373 #736A13 #1C7313
monochromatic
#0D041A #200A3E #3A1373 #541CA8 #6F25DB

Accessibility & contrast

On white

13.81
#3A1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1373
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1373#FFFFFF#000000##FFFFFF
##3A13731.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1373;
/* rgb */ color: rgb(58, 19, 115);
/* oklch */ color: oklch(31.5% 0.149 294.4);
Tailwind
colors: {
  custom: {
    50: '#77569c',
    500: '#3a1373',
    950: '#000000',
  },
}
SCSS
$custom: #3a1373;
$custom-light: #77569c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1373",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 264.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3147,
    "c": 0.14892,
    "h": 294.4
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#3A1373
secondary
#7CAA38
accent
#EE39A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1373

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

Preview Lab → · Contrast checker → · Palette generator →

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