#3A1DA0#3A1DA0

#3A1DA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.192 H 281.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3A1DA0
RGBrgb(58, 29, 160)
HSLhsl(253, 69%, 37%)
HSVhsv(253, 82%, 63%)
CMYKcmyk(63.8%, 81.9%, 0%, 37.3%)
CIE-LABlab(24.69, 48.45, -65.05)
CIE-LCHlch(24.69, 81.11, 306.68°)
OKLaboklab(37.27% 0.0397 -0.1877)
OKLCHoklch(37.27% 0.192 281.9)
XYZxyz(8.5275, 4.3157, 33.6345)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1DA0 #83A01D
analogous
#1D42A0 #3A1DA0 #7B1DA0
triadic
#3A1DA0 #A03A1D #1DA03A
tetradic
#3A1DA0 #A01D42 #83A01D #1DA07B
square
#3A1DA0 #A01D42 #83A01D #1DA07B
split-complementary
#3A1DA0 #A07B1D #42A01D
monochromatic
#140A38 #27146C #3A1DA0 #4D26D4 #7557E1

Accessibility & contrast

On white

11.27
#3A1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3A1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1DA0
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1DA0#FFFFFF#000000##FFFFFF
##3A1DA01.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a1da0;
/* rgb */ color: rgb(58, 29, 160);
/* oklch */ color: oklch(37.3% 0.192 281.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ebd',
    500: '#3a1da0',
    950: '#000000',
  },
}
SCSS
$custom: #3a1da0;
$custom-light: #7e5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1da0",
  "rgb": {
    "r": 58,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 253.282,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37269,
    "c": 0.19181,
    "h": 281.9
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#3A1DA0
secondary
#ABC455
accent
#EC3CC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3A1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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