#3B0F57#3B0F57

#3B0F57 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.122 H 308.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3B0F57
RGBrgb(59, 15, 87)
HSLhsl(277, 71%, 20%)
HSVhsv(277, 83%, 34%)
CMYKcmyk(32.2%, 82.8%, 0%, 65.9%)
CIE-LABlab(15.27, 34.57, -33.84)
CIE-LCHlch(15.27, 48.37, 315.61°)
OKLaboklab(28.52% 0.0754 -0.0961)
OKLCHoklch(28.52% 0.122 308.1)
XYZxyz(3.6944, 1.9596, 9.1986)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F57 #2B570F
analogous
#170F57 #3B0F57 #570F4F
triadic
#3B0F57 #573B0F #0F573B
tetradic
#3B0F57 #57170F #2B570F #0F4F57
square
#3B0F57 #57170F #2B570F #0F4F57
split-complementary
#3B0F57 #4F570F #0F5717
monochromatic
#12051A #180623 #3B0F57 #5E188B #8221BF

Accessibility & contrast

On white

15.09
#3B0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F57
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F57#FFFFFF#000000##FFFFFF
##3B0F571.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#362132
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0f57;
/* rgb */ color: rgb(59, 15, 87);
/* oklch */ color: oklch(28.5% 0.122 308.1);
Tailwind
colors: {
  custom: {
    50: '#755387',
    500: '#3b0f57',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f57;
$custom-light: #755387;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f57",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 276.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.28519,
    "c": 0.12214,
    "h": 308.1
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#3B0F57
secondary
#569131
accent
#ED3A80
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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