#3B0E56#3B0E56

#3B0E56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.122 H 308.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3B0E56
RGBrgb(59, 14, 86)
HSLhsl(278, 72%, 20%)
HSVhsv(278, 84%, 34%)
CMYKcmyk(31.4%, 83.7%, 0%, 66.3%)
CIE-LABlab(15.04, 34.75, -33.54)
CIE-LCHlch(15.04, 48.29, 316.01°)
OKLaboklab(28.33% 0.0766 -0.0952)
OKLCHoklch(28.33% 0.122 308.8)
XYZxyz(3.6400, 1.9158, 8.9803)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E56 #29560E
analogous
#170E56 #3B0E56 #560E4D
triadic
#3B0E56 #563B0E #0E563B
tetradic
#3B0E56 #56170E #29560E #0E4D56
square
#3B0E56 #56170E #29560E #0E4D56
split-complementary
#3B0E56 #4D560E #0E5617
monochromatic
#12041A #170521 #3B0E56 #5F178B #831FBF

Accessibility & contrast

On white

15.18
#3B0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E56
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E56#FFFFFF#000000##FFFFFF
##3B0E561.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0e56;
/* rgb */ color: rgb(59, 14, 86);
/* oklch */ color: oklch(28.3% 0.122 308.8);
Tailwind
colors: {
  custom: {
    50: '#745286',
    500: '#3b0e56',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e56;
$custom-light: #745286;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e56",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 277.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28327,
    "c": 0.12222,
    "h": 308.8
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#3B0E56
secondary
#549030
accent
#EF397D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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