#3B0D53#3B0D53

#3B0D53 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.120 H 310.6°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#3B0D53
RGBrgb(59, 13, 83)
HSLhsl(279, 73%, 19%)
HSVhsv(279, 84%, 33%)
CMYKcmyk(28.9%, 84.3%, 0%, 67.5%)
CIE-LABlab(14.64, 34.43, -32.16)
CIE-LCHlch(14.64, 47.11, 316.95°)
OKLaboklab(27.96% 0.0783 -0.0912)
OKLCHoklch(27.96% 0.12 310.6)
XYZxyz(3.5086, 1.8423, 8.3527)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D53 #25530D
analogous
#180D53 #3B0D53 #530D48
triadic
#3B0D53 #533B0D #0D533B
tetradic
#3B0D53 #53180D #25530D #0D4853
square
#3B0D53 #53180D #25530D #0D4853
split-complementary
#3B0D53 #48530D #0D5318
monochromatic
#13041A #15051E #3B0D53 #611588 #861EBD

Accessibility & contrast

On white

15.35
#3B0D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B0D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D53
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D53#FFFFFF#000000##FFFFFF
##3B0D531.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#381E30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0d53;
/* rgb */ color: rgb(59, 13, 83);
/* oklch */ color: oklch(28.0% 0.120 310.6);
Tailwind
colors: {
  custom: {
    50: '#745284',
    500: '#3b0d53',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d53;
$custom-light: #745284;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d53",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 279.429,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27963,
    "c": 0.12017,
    "h": 310.6
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#3B0D53
secondary
#4F8E2E
accent
#F03877
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3B0D53

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

Preview Lab → · Contrast checker → · Palette generator →

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