#3B0E4F#3B0E4F

#3B0E4F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.115 H 312.9°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#3B0E4F
RGBrgb(59, 14, 79)
HSLhsl(282, 70%, 18%)
HSVhsv(282, 82%, 31%)
CMYKcmyk(25.3%, 82.3%, 0%, 69%)
CIE-LABlab(14.45, 33.05, -29.73)
CIE-LCHlch(14.45, 44.45, 318.02°)
OKLaboklab(27.73% 0.0781 -0.084)
OKLCHoklch(27.73% 0.115 312.9)
XYZxyz(3.3717, 1.8085, 7.5671)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E4F #224F0E
analogous
#1A0E4F #3B0E4F #4F0E42
triadic
#3B0E4F #4F3B0E #0E4F3B
tetradic
#3B0E4F #4F1A0E #224F0E #0E424F
square
#3B0E4F #4F1A0E #224F0E #0E424F
split-complementary
#3B0E4F #424F0E #0E4F1A
monochromatic
#13051A #14051B #3B0E4F #621783 #8920B7

Accessibility & contrast

On white

15.42
#3B0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3B0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0E4F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E4F#FFFFFF#000000##FFFFFF
##3B0E4F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#07254E
Tritanopia (blue-blind)
#391D2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0e4f;
/* rgb */ color: rgb(59, 14, 79);
/* oklch */ color: oklch(27.7% 0.115 312.9);
Tailwind
colors: {
  custom: {
    50: '#745281',
    500: '#3b0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e4f;
$custom-light: #745281;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e4f",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 281.538,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27725,
    "c": 0.11474,
    "h": 312.9
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#3B0E4F
secondary
#4B8A2F
accent
#ED3B72
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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