#3B0E5A#3B0E5A

#3B0E5A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.127 H 306.7°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#3B0E5A
RGBrgb(59, 14, 90)
HSLhsl(276, 73%, 20%)
HSVhsv(276, 84%, 35%)
CMYKcmyk(34.4%, 84.4%, 0%, 64.7%)
CIE-LABlab(15.39, 35.74, -35.67)
CIE-LCHlch(15.39, 50.49, 315.06°)
OKLaboklab(28.69% 0.0755 -0.1015)
OKLCHoklch(28.69% 0.127 306.7)
XYZxyz(3.8057, 1.9821, 9.8530)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E5A #2D5A0E
analogous
#150E5A #3B0E5A #5A0E53
triadic
#3B0E5A #5A3B0E #0E5A3B
tetradic
#3B0E5A #5A150E #2D5A0E #0E535A
square
#3B0E5A #5A150E #2D5A0E #0E535A
split-complementary
#3B0E5A #535A0E #0E5A15
monochromatic
#11041A #180625 #3B0E5A #5E168F #801EC4

Accessibility & contrast

On white

15.04
#3B0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3B0E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0E5A
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E5A#FFFFFF#000000##FFFFFF
##3B0E5A1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#362234
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0e5a;
/* rgb */ color: rgb(59, 14, 90);
/* oklch */ color: oklch(28.7% 0.127 306.7);
Tailwind
colors: {
  custom: {
    50: '#755389',
    500: '#3b0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e5a;
$custom-light: #755389;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e5a",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 275.526,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28685,
    "c": 0.12651,
    "h": 306.7
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#3B0E5A
secondary
#599430
accent
#F03883
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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