#3B0F4E#3B0F4E

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

Color values

HEX#3B0F4E
RGBrgb(59, 15, 78)
HSLhsl(282, 68%, 18%)
HSVhsv(282, 81%, 31%)
CMYKcmyk(24.4%, 80.8%, 0%, 69.4%)
CIE-LABlab(14.52, 32.37, -28.93)
CIE-LCHlch(14.52, 43.41, 318.21°)
OKLaboklab(27.75% 0.0772 -0.0817)
OKLCHoklch(27.75% 0.112 313.4)
XYZxyz(3.3494, 1.8216, 7.3814)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F4E #224E0F
analogous
#1B0F4E #3B0F4E #4E0F41
triadic
#3B0F4E #4E3B0F #0F4E3B
tetradic
#3B0F4E #4E1B0F #224E0F #0F414E
square
#3B0F4E #4E1B0F #224E0F #0F414E
split-complementary
#3B0F4E #414E0F #0F4E1B
monochromatic
#13051A #14051B #3B0F4E #621981 #8923B5

Accessibility & contrast

On white

15.39
#3B0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F4E
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F4E#FFFFFF#000000##FFFFFF
##3B0F4E1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#09264D
Tritanopia (blue-blind)
#391D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0f4e;
/* rgb */ color: rgb(59, 15, 78);
/* oklch */ color: oklch(27.8% 0.112 313.4);
Tailwind
colors: {
  custom: {
    50: '#745280',
    500: '#3b0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f4e;
$custom-light: #745280;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f4e",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 281.905,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.1124,
    "h": 313.4
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#3B0F4E
secondary
#4B8831
accent
#EB3D71
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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