#3B0F59#3B0F59

#3B0F59 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.124 H 307.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3B0F59
RGBrgb(59, 15, 89)
HSLhsl(276, 71%, 20%)
HSVhsv(276, 83%, 35%)
CMYKcmyk(33.7%, 83.1%, 0%, 65.1%)
CIE-LABlab(15.45, 35.07, -34.90)
CIE-LCHlch(15.45, 49.48, 315.14°)
OKLaboklab(28.7% 0.0749 -0.0992)
OKLCHoklch(28.7% 0.124 307)
XYZxyz(3.7772, 1.9928, 9.6349)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F59 #2D590F
analogous
#160F59 #3B0F59 #590F52
triadic
#3B0F59 #593B0F #0F593B
tetradic
#3B0F59 #59160F #2D590F #0F5259
square
#3B0F59 #59160F #2D590F #0F5259
split-complementary
#3B0F59 #52590F #0F5916
monochromatic
#11041A #180625 #3B0F59 #5E188D #8021C2

Accessibility & contrast

On white

15.02
#3B0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3B0F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F59
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F59#FFFFFF#000000##FFFFFF
##3B0F591.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#362234
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0f59;
/* rgb */ color: rgb(59, 15, 89);
/* oklch */ color: oklch(28.7% 0.124 307.0);
Tailwind
colors: {
  custom: {
    50: '#755388',
    500: '#3b0f59',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f59;
$custom-light: #755388;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f59",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 275.676,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28697,
    "c": 0.12432,
    "h": 307
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#3B0F59
secondary
#599331
accent
#EE3A83
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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