#3B0E55#3B0E55

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

Color values

HEX#3B0E55
RGBrgb(59, 14, 85)
HSLhsl(278, 72%, 19%)
HSVhsv(278, 84%, 33%)
CMYKcmyk(30.6%, 83.5%, 0%, 66.7%)
CIE-LABlab(14.95, 34.50, -33.01)
CIE-LCHlch(14.95, 47.75, 316.27°)
OKLaboklab(28.24% 0.0768 -0.0937)
OKLCHoklch(28.24% 0.121 309.4)
XYZxyz(3.6000, 1.8998, 8.7696)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E55 #28550E
analogous
#180E55 #3B0E55 #550E4C
triadic
#3B0E55 #553B0E #0E553B
tetradic
#3B0E55 #55180E #28550E #0E4C55
square
#3B0E55 #55180E #28550E #0E4C55
split-complementary
#3B0E55 #4C550E #0E5518
monochromatic
#12041A #170520 #3B0E55 #5F178A #841FBE

Accessibility & contrast

On white

15.22
#3B0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E55
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E55#FFFFFF#000000##FFFFFF
##3B0E551.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#371F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0e55;
/* rgb */ color: rgb(59, 14, 85);
/* oklch */ color: oklch(28.2% 0.121 309.4);
Tailwind
colors: {
  custom: {
    50: '#745285',
    500: '#3b0e55',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e55;
$custom-light: #745285;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e55",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 278.028,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28239,
    "c": 0.12115,
    "h": 309.4
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#3B0E55
secondary
#538F30
accent
#EE397C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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