#3B0F48#3B0F48

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

Color values

HEX#3B0F48
RGBrgb(59, 15, 72)
HSLhsl(286, 66%, 17%)
HSVhsv(286, 79%, 28%)
CMYKcmyk(18.1%, 79.2%, 0%, 71.8%)
CIE-LABlab(14.06, 30.95, -25.53)
CIE-LCHlch(14.06, 40.12, 320.48°)
OKLaboklab(27.27% 0.078 -0.0717)
OKLCHoklch(27.27% 0.106 317.4)
XYZxyz(3.1440, 1.7395, 6.2998)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F48 #1C480F
analogous
#1F0F48 #3B0F48 #480F39
triadic
#3B0F48 #483B0F #0F483B
tetradic
#3B0F48 #481F0F #1C480F #0F3948
square
#3B0F48 #481F0F #1C480F #0F3948
split-complementary
#3B0F48 #39480F #0F481F
monochromatic
#150519 #150519 #3B0F48 #651A7B #8E24AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B0F48#FFFFFF#000000##FFFFFF
##3B0F481.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)
#00214A
Deuteranopia (green-blind)
#112547
Tritanopia (blue-blind)
#3A1A2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0f48;
/* rgb */ color: rgb(59, 15, 72);
/* oklch */ color: oklch(27.3% 0.106 317.4);
Tailwind
colors: {
  custom: {
    50: '#73527b',
    500: '#3b0f48',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f48;
$custom-light: #73527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f48",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 286.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27272,
    "c": 0.10597,
    "h": 317.4
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#3B0F48
secondary
#438230
accent
#E83F66
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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