#3B0F4C#3B0F4C

#3B0F4C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.110 H 314.7°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#3B0F4C
RGBrgb(59, 15, 76)
HSLhsl(283, 67%, 18%)
HSVhsv(283, 80%, 30%)
CMYKcmyk(22.4%, 80.3%, 0%, 70.2%)
CIE-LABlab(14.36, 31.89, -27.81)
CIE-LCHlch(14.36, 42.31, 318.91°)
OKLaboklab(27.59% 0.0775 -0.0784)
OKLCHoklch(27.59% 0.11 314.7)
XYZxyz(3.2787, 1.7934, 7.0095)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F4C #204C0F
analogous
#1D0F4C #3B0F4C #4C0F3E
triadic
#3B0F4C #4C3B0F #0F4C3B
tetradic
#3B0F4C #4C1D0F #204C0F #0F3E4C
square
#3B0F4C #4C1D0F #204C0F #0F3E4C
split-complementary
#3B0F4C #3E4C0F #0F4C1D
monochromatic
#14051A #14051A #3B0F4C #63197F #8A23B2

Accessibility & contrast

On white

15.46
#3B0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F4C
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F4C#FFFFFF#000000##FFFFFF
##3B0F4C1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0f4c;
/* rgb */ color: rgb(59, 15, 76);
/* oklch */ color: oklch(27.6% 0.110 314.7);
Tailwind
colors: {
  custom: {
    50: '#74527e',
    500: '#3b0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f4c;
$custom-light: #74527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f4c",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 283.279,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27588,
    "c": 0.11025,
    "h": 314.7
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#3B0F4C
secondary
#488631
accent
#EA3E6E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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