#3B0F52#3B0F52

#3B0F52 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 310.9°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3B0F52
RGBrgb(59, 15, 82)
HSLhsl(279, 69%, 19%)
HSVhsv(279, 82%, 32%)
CMYKcmyk(28%, 81.7%, 0%, 67.8%)
CIE-LABlab(14.85, 33.34, -31.13)
CIE-LCHlch(14.85, 45.61, 316.96°)
OKLaboklab(28.09% 0.0765 -0.0882)
OKLCHoklch(28.09% 0.117 310.9)
XYZxyz(3.4972, 1.8807, 8.1598)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F52 #26520F
analogous
#1A0F52 #3B0F52 #520F48
triadic
#3B0F52 #523B0F #0F523B
tetradic
#3B0F52 #521A0F #26520F #0F4852
square
#3B0F52 #521A0F #26520F #0F4852
split-complementary
#3B0F52 #48520F #0F521A
monochromatic
#13051A #16061E #3B0F52 #601886 #8522B9

Accessibility & contrast

On white

15.26
#3B0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3B0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F52
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F52#FFFFFF#000000##FFFFFF
##3B0F521.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#032651
Tritanopia (blue-blind)
#381F30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0f52;
/* rgb */ color: rgb(59, 15, 82);
/* oklch */ color: oklch(28.1% 0.117 310.9);
Tailwind
colors: {
  custom: {
    50: '#745383',
    500: '#3b0f52',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f52;
$custom-light: #745383;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f52",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 279.403,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28086,
    "c": 0.11672,
    "h": 310.9
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#3B0F52
secondary
#508C31
accent
#EC3C78
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3B0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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