#3A1569#3A1569

#3A1569 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.135 H 297.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#3A1569
RGBrgb(58, 21, 105)
HSLhsl(266, 67%, 25%)
HSVhsv(266, 80%, 41%)
CMYKcmyk(44.8%, 80%, 0%, 58.8%)
CIE-LABlab(17.72, 36.38, -41.83)
CIE-LCHlch(17.72, 55.44, 311.01°)
OKLaboklab(30.71% 0.0631 -0.1197)
OKLCHoklch(30.71% 0.135 297.8)
XYZxyz(4.5622, 2.4557, 13.5955)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1569 #446915
analogous
#151A69 #3A1569 #641569
triadic
#3A1569 #693A15 #15693A
tetradic
#3A1569 #69151A #446915 #156964
square
#3A1569 #69151A #446915 #156964
split-complementary
#3A1569 #696415 #1A6915
monochromatic
#0E051A #1E0B36 #3A1569 #561F9C #7229CF

Accessibility & contrast

On white

14.08
#3A1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3A1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1569
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1569#FFFFFF#000000##FFFFFF
##3A15691.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#2E2B3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1569;
/* rgb */ color: rgb(58, 21, 105);
/* oklch */ color: oklch(30.7% 0.135 297.8);
Tailwind
colors: {
  custom: {
    50: '#765795',
    500: '#3a1569',
    950: '#000000',
  },
}
SCSS
$custom: #3a1569;
$custom-light: #765795;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1569",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 266.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3071,
    "c": 0.1353,
    "h": 297.8
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#3A1569
secondary
#73A03A
accent
#EA3E9E
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1569

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

Preview Lab → · Contrast checker → · Palette generator →

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