#3B0F60#3B0F60

#3B0F60 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.132 H 303.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3B0F60
RGBrgb(59, 15, 96)
HSLhsl(273, 73%, 22%)
HSVhsv(273, 84%, 38%)
CMYKcmyk(38.5%, 84.4%, 0%, 62.4%)
CIE-LABlab(16.08, 36.85, -38.55)
CIE-LCHlch(16.08, 53.33, 313.71°)
OKLaboklab(29.34% 0.0729 -0.11)
OKLCHoklch(29.34% 0.132 303.5)
XYZxyz(4.0853, 2.1160, 11.2573)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F60 #34600F
analogous
#130F60 #3B0F60 #600F5D
triadic
#3B0F60 #603B0F #0F603B
tetradic
#3B0F60 #60130F #34600F #0F5D60
square
#3B0F60 #60130F #34600F #0F5D60
split-complementary
#3B0F60 #5D600F #0F6013
monochromatic
#10041A #1A072B #3B0F60 #5C1795 #7C20CA

Accessibility & contrast

On white

14.76
#3B0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3B0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F60
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F60#FFFFFF#000000##FFFFFF
##3B0F601.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#332538
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b0f60;
/* rgb */ color: rgb(59, 15, 96);
/* oklch */ color: oklch(29.3% 0.132 303.5);
Tailwind
colors: {
  custom: {
    50: '#75538e',
    500: '#3b0f60',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f60;
$custom-light: #75538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f60",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 272.593,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29339,
    "c": 0.13193,
    "h": 303.5
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#3B0F60
secondary
#619932
accent
#F0388C
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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