#3B0F5D#3B0F5D

#3B0F5D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.129 H 305.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#3B0F5D
RGBrgb(59, 15, 93)
HSLhsl(274, 72%, 21%)
HSVhsv(274, 84%, 36%)
CMYKcmyk(36.6%, 83.9%, 0%, 63.5%)
CIE-LABlab(15.81, 36.08, -37.00)
CIE-LCHlch(15.81, 51.68, 314.28°)
OKLaboklab(29.06% 0.0738 -0.1054)
OKLCHoklch(29.06% 0.129 305)
XYZxyz(3.9498, 2.0618, 10.5437)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F5D #315D0F
analogous
#140F5D #3B0F5D #5D0F58
triadic
#3B0F5D #5D3B0F #0F5D3B
tetradic
#3B0F5D #5D140F #315D0F #0F585D
square
#3B0F5D #5D140F #315D0F #0F585D
split-complementary
#3B0F5D #585D0F #0F5D14
monochromatic
#11041A #1A0628 #3B0F5D #5C1792 #7E20C6

Accessibility & contrast

On white

14.87
#3B0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F5D
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F5D#FFFFFF#000000##FFFFFF
##3B0F5D1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#352336
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0f5d;
/* rgb */ color: rgb(59, 15, 93);
/* oklch */ color: oklch(29.1% 0.129 305.0);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3b0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f5d;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f5d",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 273.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2906,
    "c": 0.12867,
    "h": 305
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#3B0F5D
secondary
#5D9631
accent
#EF3988
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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