#3B0E54#3B0E54

#3B0E54 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.120 H 309.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#3B0E54
RGBrgb(59, 14, 84)
HSLhsl(279, 71%, 19%)
HSVhsv(279, 83%, 33%)
CMYKcmyk(29.8%, 83.3%, 0%, 67.1%)
CIE-LABlab(14.87, 34.25, -32.47)
CIE-LCHlch(14.87, 47.19, 316.54°)
OKLaboklab(28.15% 0.0771 -0.0921)
OKLCHoklch(28.15% 0.12 309.9)
XYZxyz(3.5606, 1.8841, 8.5619)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E54 #27540E
analogous
#180E54 #3B0E54 #540E4A
triadic
#3B0E54 #543B0E #0E543B
tetradic
#3B0E54 #54180E #27540E #0E4A54
square
#3B0E54 #54180E #27540E #0E4A54
split-complementary
#3B0E54 #4A540E #0E5418
monochromatic
#12041A #160520 #3B0E54 #601788 #851FBD

Accessibility & contrast

On white

15.25
#3B0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E54
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E54#FFFFFF#000000##FFFFFF
##3B0E541.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#371F31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0e54;
/* rgb */ color: rgb(59, 14, 84);
/* oklch */ color: oklch(28.2% 0.120 309.9);
Tailwind
colors: {
  custom: {
    50: '#745285',
    500: '#3b0e54',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e54;
$custom-light: #745285;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e54",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 278.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.12008,
    "h": 309.9
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#3B0E54
secondary
#518E2F
accent
#EE3A7A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3B0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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