#3B0D60#3B0D60

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

Color values

HEX#3B0D60
RGBrgb(59, 13, 96)
HSLhsl(273, 76%, 21%)
HSVhsv(273, 86%, 38%)
CMYKcmyk(38.5%, 86.5%, 0%, 62.4%)
CIE-LABlab(15.81, 37.65, -39.00)
CIE-LCHlch(15.81, 54.20, 313.99°)
OKLaboklab(29.15% 0.0746 -0.1113)
OKLCHoklch(29.15% 0.134 303.8)
XYZxyz(4.0584, 2.0622, 11.2483)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D60 #32600D
analogous
#120D60 #3B0D60 #600D5C
triadic
#3B0D60 #603B0D #0D603B
tetradic
#3B0D60 #60120D #32600D #0D5C60
square
#3B0D60 #60120D #32600D #0D5C60
split-complementary
#3B0D60 #5C600D #0D6012
monochromatic
#11041B #1A062A #3B0D60 #5C1496 #7D1CCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B0D60#FFFFFF#000000##FFFFFF
##3B0D601.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)
#002662
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#332437
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0d60;
/* rgb */ color: rgb(59, 13, 96);
/* oklch */ color: oklch(29.1% 0.134 303.8);
Tailwind
colors: {
  custom: {
    50: '#76538e',
    500: '#3b0d60',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d60;
$custom-light: #76538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d60",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 273.253,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.13395,
    "h": 303.8
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#3B0D60
secondary
#5F9A2F
accent
#F3358A
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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