#3A1660#3A1660

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

Color values

HEX#3A1660
RGBrgb(58, 22, 96)
HSLhsl(269, 63%, 23%)
HSVhsv(269, 77%, 38%)
CMYKcmyk(39.6%, 77.1%, 0%, 62.4%)
CIE-LABlab(17.07, 33.40, -36.94)
CIE-LCHlch(17.07, 49.80, 312.12°)
OKLaboklab(30% 0.0644 -0.1053)
OKLCHoklch(30% 0.123 301.4)
XYZxyz(4.1426, 2.3179, 11.2932)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1660 #3C6016
analogous
#161760 #3A1660 #5F1660
triadic
#3A1660 #603A16 #16603A
tetradic
#3A1660 #601617 #3C6016 #16605F
square
#3A1660 #601617 #3C6016 #16605F
split-complementary
#3A1660 #605F16 #176016
monochromatic
#0F0619 #1C0B2E #3A1660 #582192 #762DC4

Accessibility & contrast

On white

14.35
#3A1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1660
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1660#FFFFFF#000000##FFFFFF
##3A16601.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#322839
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1660;
/* rgb */ color: rgb(58, 22, 96);
/* oklch */ color: oklch(30.0% 0.123 301.4);
Tailwind
colors: {
  custom: {
    50: '#74578e',
    500: '#3a1660',
    950: '#000000',
  },
}
SCSS
$custom: #3a1660;
$custom-light: #74578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1660",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 269.189,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30003,
    "c": 0.12345,
    "h": 301.4
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#3A1660
secondary
#6A973B
accent
#E64296
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1660

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

Preview Lab → · Contrast checker → · Palette generator →

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