#3A1467#3A1467

#3A1467 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.134 H 298.8°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#3A1467
RGBrgb(58, 20, 103)
HSLhsl(267, 67%, 24%)
HSVhsv(267, 81%, 40%)
CMYKcmyk(43.7%, 80.6%, 0%, 59.6%)
CIE-LABlab(17.36, 36.30, -41.10)
CIE-LCHlch(17.36, 54.84, 311.46°)
OKLaboklab(30.4% 0.0646 -0.1175)
OKLCHoklch(30.4% 0.134 298.8)
XYZxyz(4.4426, 2.3791, 13.0545)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1467 #416714
analogous
#141767 #3A1467 #641467
triadic
#3A1467 #673A14 #14673A
tetradic
#3A1467 #671417 #416714 #146764
square
#3A1467 #671417 #416714 #146764
split-complementary
#3A1467 #676414 #176714
monochromatic
#0E051A #1D0A34 #3A1467 #571E9A #7428CD

Accessibility & contrast

On white

14.23
#3A1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3A1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1467
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1467#FFFFFF#000000##FFFFFF
##3A14671.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2F2A3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1467;
/* rgb */ color: rgb(58, 20, 103);
/* oklch */ color: oklch(30.4% 0.134 298.8);
Tailwind
colors: {
  custom: {
    50: '#755693',
    500: '#3a1467',
    950: '#000000',
  },
}
SCSS
$custom: #3a1467;
$custom-light: #755693;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1467",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 267.47,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30403,
    "c": 0.13412,
    "h": 298.8
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#3A1467
secondary
#709E39
accent
#EA3D9B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1467

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

Preview Lab → · Contrast checker → · Palette generator →

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