#3A1460#3A1460

#3A1460 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.126 H 301.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#3A1460
RGBrgb(58, 20, 96)
HSLhsl(270, 66%, 23%)
HSVhsv(270, 79%, 38%)
CMYKcmyk(39.6%, 79.2%, 0%, 62.4%)
CIE-LABlab(16.72, 34.40, -37.52)
CIE-LCHlch(16.72, 50.90, 312.52°)
OKLaboklab(29.75% 0.0665 -0.107)
OKLCHoklch(29.75% 0.126 301.8)
XYZxyz(4.1059, 2.2444, 11.2810)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1460 #3A6014
analogous
#141460 #3A1460 #601460
triadic
#3A1460 #603A14 #14603A
tetradic
#3A1460 #601414 #3A6014 #146060
square
#3A1460 #601414 #3A6014 #146060
split-complementary
#3A1460 #606014 #146014
monochromatic
#0F0519 #1B092D #3A1460 #591F93 #7729C5

Accessibility & contrast

On white

14.49
#3A1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3A1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1460
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1460#FFFFFF#000000##FFFFFF
##3A14601.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#322739
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a1460;
/* rgb */ color: rgb(58, 20, 96);
/* oklch */ color: oklch(29.8% 0.126 301.8);
Tailwind
colors: {
  custom: {
    50: '#74568e',
    500: '#3a1460',
    950: '#000000',
  },
}
SCSS
$custom: #3a1460;
$custom-light: #74568e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1460",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 270,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29753,
    "c": 0.12598,
    "h": 301.8
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#3A1460
secondary
#689838
accent
#E83F94
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1460

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

Preview Lab → · Contrast checker → · Palette generator →

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