#3A1963#3A1963

#3A1963 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.123 H 299.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#3A1963
RGBrgb(58, 25, 99)
HSLhsl(267, 60%, 24%)
HSVhsv(267, 75%, 39%)
CMYKcmyk(41.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(17.90, 32.65, -37.59)
CIE-LCHlch(17.90, 49.79, 310.98°)
OKLaboklab(30.67% 0.0604 -0.1073)
OKLCHoklch(30.67% 0.123 299.4)
XYZxyz(4.3441, 2.4956, 12.0548)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1963 #426319
analogous
#191D63 #3A1963 #5F1963
triadic
#3A1963 #633A19 #19633A
tetradic
#3A1963 #63191D #426319 #19635F
square
#3A1963 #63191D #426319 #19635F
split-complementary
#3A1963 #635F19 #1D6319
monochromatic
#0E0618 #1D0D32 #3A1963 #572594 #7332C5

Accessibility & contrast

On white

14.01
#3A1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1963
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1963#FFFFFF#000000##FFFFFF
##3A19631.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1963;
/* rgb */ color: rgb(58, 25, 99);
/* oklch */ color: oklch(30.7% 0.123 299.4);
Tailwind
colors: {
  custom: {
    50: '#745990',
    500: '#3a1963',
    950: '#000000',
  },
}
SCSS
$custom: #3a1963;
$custom-light: #745990;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1963",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 266.757,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3067,
    "c": 0.1231,
    "h": 299.4
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#3A1963
secondary
#71993F
accent
#E3459C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1963

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

Preview Lab → · Contrast checker → · Palette generator →

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