#3A1360#3A1360

#3A1360 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 302.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3A1360
RGBrgb(58, 19, 96)
HSLhsl(270, 67%, 23%)
HSVhsv(270, 80%, 38%)
CMYKcmyk(39.6%, 80.2%, 0%, 62.4%)
CIE-LABlab(16.55, 34.88, -37.79)
CIE-LCHlch(16.55, 51.43, 312.71°)
OKLaboklab(29.63% 0.0675 -0.1078)
OKLCHoklch(29.63% 0.127 302)
XYZxyz(4.0886, 2.2098, 11.2752)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1360 #396013
analogous
#141360 #3A1360 #60135F
triadic
#3A1360 #603A13 #13603A
tetradic
#3A1360 #601413 #396013 #135F60
square
#3A1360 #601413 #396013 #135F60
split-complementary
#3A1360 #5F6013 #136014
monochromatic
#0F051A #1B092D #3A1360 #591D93 #7827C6

Accessibility & contrast

On white

14.56
#3A1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3A1360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1360
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1360#FFFFFF#000000##FFFFFF
##3A13601.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1360;
/* rgb */ color: rgb(58, 19, 96);
/* oklch */ color: oklch(29.6% 0.127 302.0);
Tailwind
colors: {
  custom: {
    50: '#75558e',
    500: '#3a1360',
    950: '#000000',
  },
}
SCSS
$custom: #3a1360;
$custom-light: #75558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1360",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 270.39,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.1272,
    "h": 302
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#3A1360
secondary
#679837
accent
#EA3E93
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1360

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

Preview Lab → · Contrast checker → · Palette generator →

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