#3A1A67#3A1A67

#3A1A67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.127 H 297.5°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#3A1A67
RGBrgb(58, 26, 103)
HSLhsl(265, 60%, 25%)
HSVhsv(265, 75%, 40%)
CMYKcmyk(43.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(18.44, 33.25, -39.34)
CIE-LCHlch(18.44, 51.51, 310.21°)
OKLaboklab(31.17% 0.0585 -0.1124)
OKLCHoklch(31.17% 0.127 297.5)
XYZxyz(4.5619, 2.6175, 13.0942)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1A67 #47671A
analogous
#1A2067 #3A1A67 #601A67
triadic
#3A1A67 #673A1A #1A673A
tetradic
#3A1A67 #671A20 #47671A #1A6760
square
#3A1A67 #671A20 #47671A #1A6760
split-complementary
#3A1A67 #67601A #20671A
monochromatic
#0E0618 #1E0E36 #3A1A67 #562698 #7133C9

Accessibility & contrast

On white

13.78
#3A1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1A67
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1A67#FFFFFF#000000##FFFFFF
##3A1A671.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2F2D3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a1a67;
/* rgb */ color: rgb(58, 26, 103);
/* oklch */ color: oklch(31.2% 0.127 297.5);
Tailwind
colors: {
  custom: {
    50: '#755993',
    500: '#3a1a67',
    950: '#000000',
  },
}
SCSS
$custom: #3a1a67;
$custom-light: #755993;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1a67",
  "rgb": {
    "r": 58,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 264.935,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31166,
    "c": 0.12671,
    "h": 297.5
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#3A1A67
secondary
#769D40
accent
#E345A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3A1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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