#3A1463#3A1463

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

Color values

HEX#3A1463
RGBrgb(58, 20, 99)
HSLhsl(269, 66%, 23%)
HSVhsv(269, 80%, 39%)
CMYKcmyk(41.4%, 79.8%, 0%, 61.2%)
CIE-LABlab(16.99, 35.21, -39.07)
CIE-LCHlch(16.99, 52.59, 312.03°)
OKLaboklab(30.03% 0.0657 -0.1116)
OKLCHoklch(30.03% 0.129 300.5)
XYZxyz(4.2467, 2.3007, 12.0223)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1463 #3D6314
analogous
#141563 #3A1463 #611463
triadic
#3A1463 #633A14 #14633A
tetradic
#3A1463 #631415 #3D6314 #146361
square
#3A1463 #631415 #3D6314 #146361
split-complementary
#3A1463 #636114 #156314
monochromatic
#0F0519 #1C0A30 #3A1463 #581E96 #7629C9

Accessibility & contrast

On white

14.38
#3A1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1463
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1463#FFFFFF#000000##FFFFFF
##3A14631.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#31283A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1463;
/* rgb */ color: rgb(58, 20, 99);
/* oklch */ color: oklch(30.0% 0.129 300.5);
Tailwind
colors: {
  custom: {
    50: '#755690',
    500: '#3a1463',
    950: '#000000',
  },
}
SCSS
$custom: #3a1463;
$custom-light: #755690;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1463",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 268.861,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30029,
    "c": 0.12948,
    "h": 300.5
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#3A1463
secondary
#6B9A38
accent
#E93E97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3A1463

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

Preview Lab → · Contrast checker → · Palette generator →

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