#3B0E4A#3B0E4A

#3B0E4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.109 H 316.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#3B0E4A
RGBrgb(59, 14, 74)
HSLhsl(285, 68%, 17%)
HSVhsv(285, 81%, 29%)
CMYKcmyk(20.3%, 81.1%, 0%, 71%)
CIE-LABlab(14.05, 31.87, -26.93)
CIE-LCHlch(14.05, 41.72, 319.80°)
OKLaboklab(27.32% 0.0789 -0.0758)
OKLCHoklch(27.32% 0.109 316.1)
XYZxyz(3.1965, 1.7384, 6.6444)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E4A #1D4A0E
analogous
#1D0E4A #3B0E4A #4A0E3B
triadic
#3B0E4A #4A3B0E #0E4A3B
tetradic
#3B0E4A #4A1D0E #1D4A0E #0E3B4A
square
#3B0E4A #4A1D0E #1D4A0E #0E3B4A
split-complementary
#3B0E4A #3B4A0E #0E4A1D
monochromatic
#15051A #15051A #3B0E4A #64187D #8D21B1

Accessibility & contrast

On white

15.58
#3B0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3B0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0E4A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E4A#FFFFFF#000000##FFFFFF
##3B0E4A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#3A1B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0e4a;
/* rgb */ color: rgb(59, 14, 74);
/* oklch */ color: oklch(27.3% 0.109 316.1);
Tailwind
colors: {
  custom: {
    50: '#74527d',
    500: '#3b0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e4a;
$custom-light: #74527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e4a",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 285,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27316,
    "c": 0.10945,
    "h": 316.1
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#3B0E4A
secondary
#44852F
accent
#EB3D68
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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