#3B1463#3B1463

#3B1463 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.130 H 301.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3B1463
RGBrgb(59, 20, 99)
HSLhsl(270, 66%, 23%)
HSVhsv(270, 80%, 39%)
CMYKcmyk(40.4%, 79.8%, 0%, 61.2%)
CIE-LABlab(17.14, 35.41, -38.83)
CIE-LCHlch(17.14, 52.55, 312.36°)
OKLaboklab(30.16% 0.0673 -0.1108)
OKLCHoklch(30.16% 0.13 301.3)
XYZxyz(4.3054, 2.3309, 12.0251)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1463 #3C6314
analogous
#141463 #3B1463 #621463
triadic
#3B1463 #633B14 #14633B
tetradic
#3B1463 #631414 #3C6314 #146362
square
#3B1463 #631414 #3C6314 #146362
split-complementary
#3B1463 #636214 #146314
monochromatic
#0F0519 #1D0A30 #3B1463 #591E96 #7829C9

Accessibility & contrast

On white

14.32
#3B1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3B1463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1463
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1463#FFFFFF#000000##FFFFFF
##3B14631.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1463;
/* rgb */ color: rgb(59, 20, 99);
/* oklch */ color: oklch(30.2% 0.130 301.3);
Tailwind
colors: {
  custom: {
    50: '#755690',
    500: '#3b1463',
    950: '#000000',
  },
}
SCSS
$custom: #3b1463;
$custom-light: #755690;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1463",
  "rgb": {
    "r": 59,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 269.62,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30161,
    "c": 0.12967,
    "h": 301.3
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#3B1463
secondary
#6A9A38
accent
#E93E95
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3B1463

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

Preview Lab → · Contrast checker → · Palette generator →

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