#3B0A4E#3B0A4E

#3B0A4E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.118 H 314.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#3B0A4E
RGBrgb(59, 10, 78)
HSLhsl(283, 77%, 17%)
HSVhsv(283, 87%, 31%)
CMYKcmyk(24.4%, 87.2%, 0%, 69.4%)
CIE-LABlab(13.81, 34.41, -30.08)
CIE-LCHlch(13.81, 45.70, 318.85°)
OKLaboklab(27.25% 0.0823 -0.085)
OKLCHoklch(27.25% 0.118 314.1)
XYZxyz(3.2871, 1.6971, 7.3607)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0A4E #1D4E0A
analogous
#190A4E #3B0A4E #4E0A3F
triadic
#3B0A4E #4E3B0A #0A4E3B
tetradic
#3B0A4E #4E190A #1D4E0A #0A3F4E
square
#3B0A4E #4E190A #1D4E0A #0A3F4E
split-complementary
#3B0A4E #3F4E0A #0A4E19
monochromatic
#15031B #15031B #3B0A4E #641184 #8D18BA

Accessibility & contrast

On white

15.68
#3B0A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3B0A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0A4E
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0A4E#FFFFFF#000000##FFFFFF
##3B0A4E1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#04244D
Tritanopia (blue-blind)
#391A2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0a4e;
/* rgb */ color: rgb(59, 10, 78);
/* oklch */ color: oklch(27.2% 0.118 314.1);
Tailwind
colors: {
  custom: {
    50: '#745080',
    500: '#3b0a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3b0a4e;
$custom-light: #745080;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0a4e",
  "rgb": {
    "r": 59,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 283.235,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27249,
    "c": 0.11831,
    "h": 314.1
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#3B0A4E
secondary
#448B29
accent
#F4346A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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