#3A1464#3A1464

#3A1464 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.131 H 300.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#3A1464
RGBrgb(58, 20, 100)
HSLhsl(269, 67%, 24%)
HSVhsv(269, 80%, 39%)
CMYKcmyk(42%, 80%, 0%, 60.8%)
CIE-LABlab(17.08, 35.49, -39.58)
CIE-LCHlch(17.08, 53.16, 311.88°)
OKLaboklab(30.12% 0.0654 -0.1131)
OKLCHoklch(30.12% 0.131 300.1)
XYZxyz(4.2948, 2.3199, 12.2756)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1464 #3E6414
analogous
#141664 #3A1464 #621464
triadic
#3A1464 #643A14 #14643A
tetradic
#3A1464 #641416 #3E6414 #146462
square
#3A1464 #641416 #3E6414 #146462
split-complementary
#3A1464 #646214 #166414
monochromatic
#0F051A #1C0A31 #3A1464 #581E97 #7528CA

Accessibility & contrast

On white

14.34
#3A1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3A1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1464
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1464#FFFFFF#000000##FFFFFF
##3A14641.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#30293B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1464;
/* rgb */ color: rgb(58, 20, 100);
/* oklch */ color: oklch(30.1% 0.131 300.1);
Tailwind
colors: {
  custom: {
    50: '#755691',
    500: '#3a1464',
    950: '#000000',
  },
}
SCSS
$custom: #3a1464;
$custom-light: #755691;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1464",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 268.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30121,
    "c": 0.13064,
    "h": 300.1
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#3A1464
secondary
#6C9B38
accent
#EA3E98
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1464

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

Preview Lab → · Contrast checker → · Palette generator →

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