#3A1461#3A1461

#3A1461 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.127 H 301.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3A1461
RGBrgb(58, 20, 97)
HSLhsl(270, 66%, 23%)
HSVhsv(270, 79%, 38%)
CMYKcmyk(40.2%, 79.4%, 0%, 62%)
CIE-LABlab(16.81, 34.67, -38.04)
CIE-LCHlch(16.81, 51.47, 312.35°)
OKLaboklab(29.84% 0.0662 -0.1085)
OKLCHoklch(29.84% 0.127 301.4)
XYZxyz(4.1522, 2.2629, 11.5250)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1461 #3B6114
analogous
#141561 #3A1461 #601461
triadic
#3A1461 #613A14 #14613A
tetradic
#3A1461 #611415 #3B6114 #146160
square
#3A1461 #611415 #3B6114 #146160
split-complementary
#3A1461 #616014 #156114
monochromatic
#0F0519 #1C0A2E #3A1461 #581E94 #7729C6

Accessibility & contrast

On white

14.46
#3A1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1461
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1461#FFFFFF#000000##FFFFFF
##3A14611.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#312839
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a1461;
/* rgb */ color: rgb(58, 20, 97);
/* oklch */ color: oklch(29.8% 0.127 301.4);
Tailwind
colors: {
  custom: {
    50: '#75568f',
    500: '#3a1461',
    950: '#000000',
  },
}
SCSS
$custom: #3a1461;
$custom-light: #75568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1461",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 269.61,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29844,
    "c": 0.12715,
    "h": 301.4
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#3A1461
secondary
#699838
accent
#E93F95
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1461

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

Preview Lab → · Contrast checker → · Palette generator →

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