#3B0D5F#3B0D5F

#3B0D5F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.1% C 0.133 H 304.3°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#3B0D5F
RGBrgb(59, 13, 95)
HSLhsl(274, 76%, 21%)
HSVhsv(274, 86%, 37%)
CMYKcmyk(37.9%, 86.3%, 0%, 62.7%)
CIE-LABlab(15.72, 37.39, -38.49)
CIE-LCHlch(15.72, 53.66, 314.17°)
OKLaboklab(29.05% 0.0749 -0.1098)
OKLCHoklch(29.05% 0.133 304.3)
XYZxyz(4.0126, 2.0439, 11.0074)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D5F #315F0D
analogous
#120D5F #3B0D5F #5F0D5A
triadic
#3B0D5F #5F3B0D #0D5F3B
tetradic
#3B0D5F #5F120D #315F0D #0D5A5F
square
#3B0D5F #5F120D #315F0D #0D5A5F
split-complementary
#3B0D5F #5A5F0D #0D5F12
monochromatic
#11041B #1A0629 #3B0D5F #5C1495 #7E1CCB

Accessibility & contrast

On white

14.91
#3B0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0D5F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D5F#FFFFFF#000000##FFFFFF
##3B0D5F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#342337
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0d5f;
/* rgb */ color: rgb(59, 13, 95);
/* oklch */ color: oklch(29.1% 0.133 304.3);
Tailwind
colors: {
  custom: {
    50: '#76538d',
    500: '#3b0d5f',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d5f;
$custom-light: #76538d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d5f",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 273.659,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29053,
    "c": 0.13289,
    "h": 304.3
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#3B0D5F
secondary
#5D992F
accent
#F33588
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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