#3B0F56#3B0F56

#3B0F56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.121 H 308.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3B0F56
RGBrgb(59, 15, 86)
HSLhsl(277, 70%, 20%)
HSVhsv(277, 83%, 34%)
CMYKcmyk(31.4%, 82.6%, 0%, 66.3%)
CIE-LABlab(15.19, 34.32, -33.30)
CIE-LCHlch(15.19, 47.82, 315.86°)
OKLaboklab(28.43% 0.0756 -0.0945)
OKLCHoklch(28.43% 0.121 308.6)
XYZxyz(3.6538, 1.9434, 8.9849)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F56 #2A560F
analogous
#170F56 #3B0F56 #560F4E
triadic
#3B0F56 #563B0F #0F563B
tetradic
#3B0F56 #56170F #2A560F #0F4E56
square
#3B0F56 #56170F #2A560F #0F4E56
split-complementary
#3B0F56 #4E560F #0F5617
monochromatic
#12051A #170622 #3B0F56 #5F188A #8321BE

Accessibility & contrast

On white

15.12
#3B0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3B0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F56
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F56#FFFFFF#000000##FFFFFF
##3B0F561.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#372032
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0f56;
/* rgb */ color: rgb(59, 15, 86);
/* oklch */ color: oklch(28.4% 0.121 308.6);
Tailwind
colors: {
  custom: {
    50: '#745386',
    500: '#3b0f56',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f56;
$custom-light: #745386;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f56",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 277.183,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28431,
    "c": 0.12106,
    "h": 308.6
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#3B0F56
secondary
#559031
accent
#ED3B7F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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