#3B0D5E#3B0D5E

#3B0D5E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.132 H 304.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#3B0D5E
RGBrgb(59, 13, 94)
HSLhsl(274, 76%, 21%)
HSVhsv(274, 86%, 37%)
CMYKcmyk(37.2%, 86.2%, 0%, 63.1%)
CIE-LABlab(15.62, 37.14, -37.97)
CIE-LCHlch(15.62, 53.12, 314.37°)
OKLaboklab(28.96% 0.0752 -0.1083)
OKLCHoklch(28.96% 0.132 304.8)
XYZxyz(3.9675, 2.0258, 10.7695)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D5E #305E0D
analogous
#120D5E #3B0D5E #5E0D58
triadic
#3B0D5E #5E3B0D #0D5E3B
tetradic
#3B0D5E #5E120D #305E0D #0D585E
square
#3B0D5E #5E120D #305E0D #0D585E
split-complementary
#3B0D5E #585E0D #0D5E12
monochromatic
#11041B #190628 #3B0D5E #5D1494 #7E1CCA

Accessibility & contrast

On white

14.94
#3B0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0D5E
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D5E#FFFFFF#000000##FFFFFF
##3B0D5E1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#342336
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0d5e;
/* rgb */ color: rgb(59, 13, 94);
/* oklch */ color: oklch(29.0% 0.132 304.8);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3b0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d5e;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d5e",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 274.074,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28959,
    "c": 0.13183,
    "h": 304.8
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#3B0D5E
secondary
#5C982F
accent
#F23687
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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