#3B0D56#3B0D56

#3B0D56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.123 H 309.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#3B0D56
RGBrgb(59, 13, 86)
HSLhsl(278, 74%, 19%)
HSVhsv(278, 85%, 34%)
CMYKcmyk(31.4%, 84.9%, 0%, 66.3%)
CIE-LABlab(14.90, 35.16, -33.77)
CIE-LCHlch(14.90, 48.75, 316.15°)
OKLaboklab(28.23% 0.0775 -0.0959)
OKLCHoklch(28.23% 0.123 309)
XYZxyz(3.6269, 1.8896, 8.9760)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D56 #28560D
analogous
#170D56 #3B0D56 #560D4D
triadic
#3B0D56 #563B0D #0D563B
tetradic
#3B0D56 #56170D #28560D #0D4D56
square
#3B0D56 #56170D #28560D #0D4D56
split-complementary
#3B0D56 #4D560D #0D5617
monochromatic
#12041B #170521 #3B0D56 #5F158B #841DC0

Accessibility & contrast

On white

15.24
#3B0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3B0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D56
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D56#FFFFFF#000000##FFFFFF
##3B0D561.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#371F31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0d56;
/* rgb */ color: rgb(59, 13, 86);
/* oklch */ color: oklch(28.2% 0.123 309.0);
Tailwind
colors: {
  custom: {
    50: '#755286',
    500: '#3b0d56',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d56;
$custom-light: #755286;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d56",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 277.808,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28227,
    "c": 0.12334,
    "h": 309
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#3B0D56
secondary
#53912E
accent
#F0377C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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