#3A1860#3A1860

#3A1860 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 301.0°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3A1860
RGBrgb(58, 24, 96)
HSLhsl(268, 60%, 24%)
HSVhsv(268, 75%, 38%)
CMYKcmyk(39.6%, 75%, 0%, 62.4%)
CIE-LABlab(17.45, 32.35, -36.34)
CIE-LCHlch(17.45, 48.65, 311.68°)
OKLaboklab(30.27% 0.0621 -0.1036)
OKLCHoklch(30.27% 0.121 301)
XYZxyz(4.1824, 2.3973, 11.3064)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1860 #3E6018
analogous
#181A60 #3A1860 #5E1860
triadic
#3A1860 #603A18 #18603A
tetradic
#3A1860 #60181A #3E6018 #18605E
square
#3A1860 #60181A #3E6018 #18605E
split-complementary
#3A1860 #605E18 #1A6018
monochromatic
#0F0618 #1C0C2F #3A1860 #582491 #7530C2

Accessibility & contrast

On white

14.19
#3A1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1860
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1860#FFFFFF#000000##FFFFFF
##3A18601.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#32293A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1860;
/* rgb */ color: rgb(58, 24, 96);
/* oklch */ color: oklch(30.3% 0.121 301.0);
Tailwind
colors: {
  custom: {
    50: '#74588e',
    500: '#3a1860',
    950: '#000000',
  },
}
SCSS
$custom: #3a1860;
$custom-light: #74588e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1860",
  "rgb": {
    "r": 58,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 268.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30268,
    "c": 0.12077,
    "h": 301
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#3A1860
secondary
#6C963D
accent
#E34598
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1860

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

Preview Lab → · Contrast checker → · Palette generator →

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