#3B0E52#3B0E52

#3B0E52 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.118 H 311.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3B0E52
RGBrgb(59, 14, 82)
HSLhsl(280, 71%, 19%)
HSVhsv(280, 83%, 32%)
CMYKcmyk(28%, 82.9%, 0%, 67.8%)
CIE-LABlab(14.70, 33.77, -31.38)
CIE-LCHlch(14.70, 46.10, 317.10°)
OKLaboklab(27.98% 0.0775 -0.0889)
OKLCHoklch(27.98% 0.118 311.1)
XYZxyz(3.4834, 1.8532, 8.1552)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E52 #25520E
analogous
#190E52 #3B0E52 #520E47
triadic
#3B0E52 #523B0E #0E523B
tetradic
#3B0E52 #52190E #25520E #0E4752
square
#3B0E52 #52190E #25520E #0E4752
split-complementary
#3B0E52 #47520E #0E5219
monochromatic
#13041A #15051E #3B0E52 #611786 #8620BB

Accessibility & contrast

On white

15.32
#3B0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0E52
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E52#FFFFFF#000000##FFFFFF
##3B0E521.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#022651
Tritanopia (blue-blind)
#381E2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0e52;
/* rgb */ color: rgb(59, 14, 82);
/* oklch */ color: oklch(28.0% 0.118 311.1);
Tailwind
colors: {
  custom: {
    50: '#745283',
    500: '#3b0e52',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e52;
$custom-light: #745283;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e52",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 279.706,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27979,
    "c": 0.11794,
    "h": 311.1
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#3B0E52
secondary
#4F8C2F
accent
#EE3A77
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3B0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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