#3B0F4F#3B0F4F

#3B0F4F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.113 H 312.8°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3B0F4F
RGBrgb(59, 15, 79)
HSLhsl(281, 68%, 18%)
HSVhsv(281, 81%, 31%)
CMYKcmyk(25.3%, 81%, 0%, 69%)
CIE-LABlab(14.60, 32.60, -29.48)
CIE-LCHlch(14.60, 43.96, 317.88°)
OKLaboklab(27.83% 0.077 -0.0833)
OKLCHoklch(27.83% 0.113 312.8)
XYZxyz(3.3855, 1.8361, 7.5717)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F4F #234F0F
analogous
#1B0F4F #3B0F4F #4F0F43
triadic
#3B0F4F #4F3B0F #0F4F3B
tetradic
#3B0F4F #4F1B0F #234F0F #0F434F
square
#3B0F4F #4F1B0F #234F0F #0F434F
split-complementary
#3B0F4F #434F0F #0F4F1B
monochromatic
#13051A #15051C #3B0F4F #611982 #8823B6

Accessibility & contrast

On white

15.36
#3B0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F4F
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F4F#FFFFFF#000000##FFFFFF
##3B0F4F1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0f4f;
/* rgb */ color: rgb(59, 15, 79);
/* oklch */ color: oklch(27.8% 0.113 312.8);
Tailwind
colors: {
  custom: {
    50: '#745281',
    500: '#3b0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f4f;
$custom-light: #745281;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f4f",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 281.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27834,
    "c": 0.11347,
    "h": 312.8
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#3B0F4F
secondary
#4C8931
accent
#EB3D73
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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