#3B1563#3B1563

#3B1563 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.128 H 301.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3B1563
RGBrgb(59, 21, 99)
HSLhsl(269, 65%, 24%)
HSVhsv(269, 79%, 39%)
CMYKcmyk(40.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(17.31, 34.92, -38.55)
CIE-LCHlch(17.31, 52.01, 312.18°)
OKLaboklab(30.28% 0.0663 -0.11)
OKLCHoklch(30.28% 0.128 301.1)
XYZxyz(4.3234, 2.3670, 12.0311)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1563 #3D6315
analogous
#151663 #3B1563 #621563
triadic
#3B1563 #633B15 #15633B
tetradic
#3B1563 #631516 #3D6315 #156362
square
#3B1563 #631516 #3D6315 #156362
split-complementary
#3B1563 #636215 #166315
monochromatic
#0F0519 #1D0A31 #3B1563 #592095 #772AC8

Accessibility & contrast

On white

14.25
#3B1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1563
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1563#FFFFFF#000000##FFFFFF
##3B15631.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#32293B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1563;
/* rgb */ color: rgb(59, 21, 99);
/* oklch */ color: oklch(30.3% 0.128 301.1);
Tailwind
colors: {
  custom: {
    50: '#755790',
    500: '#3b1563',
    950: '#000000',
  },
}
SCSS
$custom: #3b1563;
$custom-light: #755790;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1563",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 269.231,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.12845,
    "h": 301.1
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#3B1563
secondary
#6B9A3A
accent
#E84096
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3B1563

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

Preview Lab → · Contrast checker → · Palette generator →

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