#3A1964#3A1964

#3A1964 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.124 H 299.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#3A1964
RGBrgb(58, 25, 100)
HSLhsl(266, 60%, 25%)
HSVhsv(266, 75%, 39%)
CMYKcmyk(42%, 75%, 0%, 60.8%)
CIE-LABlab(17.99, 32.94, -38.11)
CIE-LCHlch(17.99, 50.37, 310.84°)
OKLaboklab(30.76% 0.0602 -0.1088)
OKLCHoklch(30.76% 0.124 299)
XYZxyz(4.3922, 2.5148, 12.3081)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1964 #436419
analogous
#191E64 #3A1964 #601964
triadic
#3A1964 #643A19 #19643A
tetradic
#3A1964 #64191E #436419 #196460
square
#3A1964 #64191E #436419 #196460
split-complementary
#3A1964 #646019 #1E6419
monochromatic
#0E0618 #1E0D33 #3A1964 #562595 #7331C6

Accessibility & contrast

On white

13.97
#3A1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3A1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1964
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1964#FFFFFF#000000##FFFFFF
##3A19641.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#302B3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3a1964;
/* rgb */ color: rgb(58, 25, 100);
/* oklch */ color: oklch(30.8% 0.124 299.0);
Tailwind
colors: {
  custom: {
    50: '#755991',
    500: '#3a1964',
    950: '#000000',
  },
}
SCSS
$custom: #3a1964;
$custom-light: #755991;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1964",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 266.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30759,
    "c": 0.12433,
    "h": 299
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#3A1964
secondary
#729A3F
accent
#E3459D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3A1964

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

Preview Lab → · Contrast checker → · Palette generator →

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