#3A1CA7#3A1CA7

#3A1CA7 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 37.9% C 0.201 H 280.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3A1CA7
RGBrgb(58, 28, 167)
HSLhsl(253, 71%, 38%)
HSVhsv(253, 83%, 65%)
CMYKcmyk(65.3%, 83.2%, 0%, 34.5%)
CIE-LABlab(25.32, 50.91, -68.25)
CIE-LCHlch(25.32, 85.15, 306.72°)
OKLaboklab(37.93% 0.0379 -0.197)
OKLCHoklch(37.93% 0.201 280.9)
XYZxyz(9.1330, 4.5194, 36.9428)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1CA7 #89A71C
analogous
#1C43A7 #3A1CA7 #7F1CA7
triadic
#3A1CA7 #A73A1C #1CA73A
tetradic
#3A1CA7 #A71C43 #89A71C #1CA77F
square
#3A1CA7 #A71C43 #89A71C #1CA77F
split-complementary
#3A1CA7 #A77F1C #43A71C
monochromatic
#160A3E #281373 #3A1CA7 #4D26DB #785AE3

Accessibility & contrast

On white

11.03
#3A1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3A1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1CA7
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1CA7#FFFFFF#000000##FFFFFF
##3A1CA71.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a1ca7;
/* rgb */ color: rgb(58, 28, 167);
/* oklch */ color: oklch(37.9% 0.201 280.9);
Tailwind
colors: {
  custom: {
    50: '#805ec2',
    500: '#3a1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3a1ca7;
$custom-light: #805ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1ca7",
  "rgb": {
    "r": 58,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 252.95,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.20059,
    "h": 280.9
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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