#3B0F4A#3B0F4A

#3B0F4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.108 H 316.0°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#3B0F4A
RGBrgb(59, 15, 74)
HSLhsl(285, 66%, 17%)
HSVhsv(285, 80%, 29%)
CMYKcmyk(20.3%, 79.7%, 0%, 71%)
CIE-LABlab(14.21, 31.42, -26.68)
CIE-LCHlch(14.21, 41.21, 319.67°)
OKLaboklab(27.43% 0.0778 -0.0751)
OKLCHoklch(27.43% 0.108 316)
XYZxyz(3.2103, 1.7660, 6.6490)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F4A #1E4A0F
analogous
#1E0F4A #3B0F4A #4A0F3B
triadic
#3B0F4A #4A3B0F #0F4A3B
tetradic
#3B0F4A #4A1E0F #1E4A0F #0F3B4A
square
#3B0F4A #4A1E0F #1E4A0F #0F3B4A
split-complementary
#3B0F4A #3B4A0F #0F4A1E
monochromatic
#140519 #140519 #3B0F4A #64197D #8C24B0

Accessibility & contrast

On white

15.52
#3B0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F4A
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F4A#FFFFFF#000000##FFFFFF
##3B0F4A1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.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: #3b0f4a;
/* rgb */ color: rgb(59, 15, 74);
/* oklch */ color: oklch(27.4% 0.108 316.0);
Tailwind
colors: {
  custom: {
    50: '#73527d',
    500: '#3b0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f4a;
$custom-light: #73527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f4a",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 284.746,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27428,
    "c": 0.1081,
    "h": 316
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#3B0F4A
secondary
#468430
accent
#E93F6A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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