#3B0E57#3B0E57

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

Color values

HEX#3B0E57
RGBrgb(59, 14, 87)
HSLhsl(277, 72%, 20%)
HSVhsv(277, 84%, 34%)
CMYKcmyk(32.2%, 83.9%, 0%, 65.9%)
CIE-LABlab(15.13, 34.99, -34.08)
CIE-LCHlch(15.13, 48.84, 315.76°)
OKLaboklab(28.42% 0.0763 -0.0968)
OKLCHoklch(28.42% 0.123 308.3)
XYZxyz(3.6806, 1.9321, 9.1940)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E57 #2A570E
analogous
#160E57 #3B0E57 #570E4F
triadic
#3B0E57 #573B0E #0E573B
tetradic
#3B0E57 #57160E #2A570E #0E4F57
square
#3B0E57 #57160E #2A570E #0E4F57
split-complementary
#3B0E57 #4F570E #0E5716
monochromatic
#12041A #170622 #3B0E57 #5F168C #831FC0

Accessibility & contrast

On white

15.15
#3B0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E57
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E57#FFFFFF#000000##FFFFFF
##3B0E571.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#362032
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0e57;
/* rgb */ color: rgb(59, 14, 87);
/* oklch */ color: oklch(28.4% 0.123 308.3);
Tailwind
colors: {
  custom: {
    50: '#755287',
    500: '#3b0e57',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e57;
$custom-light: #755287;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e57",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 276.986,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28416,
    "c": 0.12329,
    "h": 308.3
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#3B0E57
secondary
#559130
accent
#EF397F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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