#3B0F4D#3B0F4D

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

Color values

HEX#3B0F4D
RGBrgb(59, 15, 77)
HSLhsl(283, 67%, 18%)
HSVhsv(283, 81%, 30%)
CMYKcmyk(23.4%, 80.5%, 0%, 69.8%)
CIE-LABlab(14.44, 32.13, -28.37)
CIE-LCHlch(14.44, 42.86, 318.56°)
OKLaboklab(27.67% 0.0774 -0.08)
OKLCHoklch(27.67% 0.111 314)
XYZxyz(3.3138, 1.8074, 7.1940)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F4D #214D0F
analogous
#1C0F4D #3B0F4D #4D0F40
triadic
#3B0F4D #4D3B0F #0F4D3B
tetradic
#3B0F4D #4D1C0F #214D0F #0F404D
square
#3B0F4D #4D1C0F #214D0F #0F404D
split-complementary
#3B0F4D #404D0F #0F4D1C
monochromatic
#14051A #14051A #3B0F4D #621980 #8923B3

Accessibility & contrast

On white

15.43
#3B0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F4D
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F4D#FFFFFF#000000##FFFFFF
##3B0F4D1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0B264C
Tritanopia (blue-blind)
#391D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0f4d;
/* rgb */ color: rgb(59, 15, 77);
/* oklch */ color: oklch(27.7% 0.111 314.0);
Tailwind
colors: {
  custom: {
    50: '#74527f',
    500: '#3b0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f4d;
$custom-light: #74527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f4d",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 282.581,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27669,
    "c": 0.11132,
    "h": 314
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#3B0F4D
secondary
#4A8731
accent
#EA3E70
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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