#3B0F5B#3B0F5B

#3B0F5B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.126 H 306.0°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#3B0F5B
RGBrgb(59, 15, 91)
HSLhsl(275, 72%, 21%)
HSVhsv(275, 84%, 36%)
CMYKcmyk(35.2%, 83.5%, 0%, 64.3%)
CIE-LABlab(15.63, 35.58, -35.96)
CIE-LCHlch(15.63, 50.58, 314.70°)
OKLaboklab(28.88% 0.0743 -0.1023)
OKLCHoklch(28.88% 0.126 306)
XYZxyz(3.8624, 2.0268, 10.0832)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F5B #2F5B0F
analogous
#150F5B #3B0F5B #5B0F55
triadic
#3B0F5B #5B3B0F #0F5B3B
tetradic
#3B0F5B #5B150F #2F5B0F #0F555B
square
#3B0F5B #5B150F #2F5B0F #0F555B
split-complementary
#3B0F5B #555B0F #0F5B15
monochromatic
#11041A #190626 #3B0F5B #5D1890 #7F20C4

Accessibility & contrast

On white

14.94
#3B0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3B0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F5B
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F5B#FFFFFF#000000##FFFFFF
##3B0F5B1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#352335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0f5b;
/* rgb */ color: rgb(59, 15, 91);
/* oklch */ color: oklch(28.9% 0.126 306.0);
Tailwind
colors: {
  custom: {
    50: '#75538a',
    500: '#3b0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f5b;
$custom-light: #75538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f5b",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 274.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28877,
    "c": 0.12649,
    "h": 306
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#3B0F5B
secondary
#5B9531
accent
#EE3986
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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