#3B0F4B#3B0F4B

#3B0F4B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.109 H 315.3°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#3B0F4B
RGBrgb(59, 15, 75)
HSLhsl(284, 67%, 18%)
HSVhsv(284, 80%, 29%)
CMYKcmyk(21.3%, 80%, 0%, 70.6%)
CIE-LABlab(14.29, 31.65, -27.24)
CIE-LCHlch(14.29, 41.76, 319.28°)
OKLaboklab(27.51% 0.0776 -0.0767)
OKLCHoklch(27.51% 0.109 315.3)
XYZxyz(3.2443, 1.7796, 6.8278)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F4B #1F4B0F
analogous
#1D0F4B #3B0F4B #4B0F3D
triadic
#3B0F4B #4B3B0F #0F4B3B
tetradic
#3B0F4B #4B1D0F #1F4B0F #0F3D4B
square
#3B0F4B #4B1D0F #1F4B0F #0F3D4B
split-complementary
#3B0F4B #3D4B0F #0F4B1D
monochromatic
#14051A #14051A #3B0F4B #63197E #8B23B1

Accessibility & contrast

On white

15.49
#3B0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F4B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F4B#FFFFFF#000000##FFFFFF
##3B0F4B1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#0D254A
Tritanopia (blue-blind)
#3A1C2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0f4b;
/* rgb */ color: rgb(59, 15, 75);
/* oklch */ color: oklch(27.5% 0.109 315.3);
Tailwind
colors: {
  custom: {
    50: '#74527e',
    500: '#3b0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f4b;
$custom-light: #74527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f4b",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 284,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27508,
    "c": 0.10917,
    "h": 315.3
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#3B0F4B
secondary
#478530
accent
#EA3E6C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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