#3B0D5C#3B0D5C

#3B0D5C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.130 H 305.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3B0D5C
RGBrgb(59, 13, 92)
HSLhsl(275, 75%, 21%)
HSVhsv(275, 86%, 36%)
CMYKcmyk(35.9%, 85.9%, 0%, 63.9%)
CIE-LABlab(15.44, 36.64, -36.94)
CIE-LCHlch(15.44, 52.03, 314.77°)
OKLaboklab(28.77% 0.0758 -0.1052)
OKLCHoklch(28.77% 0.13 305.8)
XYZxyz(3.8789, 1.9904, 10.3030)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D5C #2E5C0D
analogous
#140D5C #3B0D5C #5C0D55
triadic
#3B0D5C #5C3B0D #0D5C3B
tetradic
#3B0D5C #5C140D #2E5C0D #0D555C
square
#3B0D5C #5C140D #2E5C0D #0D555C
split-complementary
#3B0D5C #555C0D #0D5C14
monochromatic
#11041B #190526 #3B0D5C #5D1592 #801CC7

Accessibility & contrast

On white

15.02
#3B0D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3B0D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D5C
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D5C#FFFFFF#000000##FFFFFF
##3B0D5C1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#352235
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0d5c;
/* rgb */ color: rgb(59, 13, 92);
/* oklch */ color: oklch(28.8% 0.130 305.8);
Tailwind
colors: {
  custom: {
    50: '#75528b',
    500: '#3b0d5c',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d5c;
$custom-light: #75528b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d5c",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 92
  },
  "hsl": {
    "h": 274.937,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28773,
    "c": 0.1297,
    "h": 305.8
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3B0D5C
secondary
#5A962F
accent
#F23684
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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