#3A1CA8#3A1CA8

#3A1CA8 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.0% C 0.202 H 280.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3A1CA8
RGBrgb(58, 28, 168)
HSLhsl(253, 71%, 38%)
HSVhsv(253, 83%, 66%)
CMYKcmyk(65.5%, 83.3%, 0%, 34.1%)
CIE-LABlab(25.43, 51.20, -68.67)
CIE-LCHlch(25.43, 85.66, 306.71°)
OKLaboklab(38.04% 0.0375 -0.1982)
OKLCHoklch(38.04% 0.202 280.7)
XYZxyz(9.2258, 4.5565, 37.4315)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1CA8 #8AA81C
analogous
#1C44A8 #3A1CA8 #801CA8
triadic
#3A1CA8 #A83A1C #1CA83A
tetradic
#3A1CA8 #A81C44 #8AA81C #1CA880
square
#3A1CA8 #A81C44 #8AA81C #1CA880
split-complementary
#3A1CA8 #A8801C #44A81C
monochromatic
#160B3F #281374 #3A1CA8 #4D26DB #785BE4

Accessibility & contrast

On white

10.99
#3A1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3A1CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1CA8
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1CA8#FFFFFF#000000##FFFFFF
##3A1CA81.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a1ca8;
/* rgb */ color: rgb(58, 28, 168);
/* oklch */ color: oklch(38.0% 0.202 280.7);
Tailwind
colors: {
  custom: {
    50: '#805ec3',
    500: '#3a1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3a1ca8;
$custom-light: #805ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1ca8",
  "rgb": {
    "r": 58,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 252.857,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38044,
    "c": 0.20171,
    "h": 280.7
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#3A1CA8
secondary
#B0C758
accent
#EE3AC7
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3A1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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