#3B0E5B#3B0E5B

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

Color values

HEX#3B0E5B
RGBrgb(59, 14, 91)
HSLhsl(275, 73%, 21%)
HSVhsv(275, 85%, 36%)
CMYKcmyk(35.2%, 84.6%, 0%, 64.3%)
CIE-LABlab(15.48, 35.99, -36.19)
CIE-LCHlch(15.48, 51.04, 314.84°)
OKLaboklab(28.78% 0.0753 -0.103)
OKLCHoklch(28.78% 0.128 306.1)
XYZxyz(3.8486, 1.9992, 10.0786)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E5B #2E5B0E
analogous
#140E5B #3B0E5B #5B0E54
triadic
#3B0E5B #5B3B0E #0E5B3B
tetradic
#3B0E5B #5B140E #2E5B0E #0E545B
square
#3B0E5B #5B140E #2E5B0E #0E545B
split-complementary
#3B0E5B #545B0E #0E5B14
monochromatic
#11041B #190626 #3B0E5B #5D1690 #801EC5

Accessibility & contrast

On white

15.00
#3B0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E5B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E5B#FFFFFF#000000##FFFFFF
##3B0E5B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#352235
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0e5b;
/* rgb */ color: rgb(59, 14, 91);
/* oklch */ color: oklch(28.8% 0.128 306.1);
Tailwind
colors: {
  custom: {
    50: '#75538a',
    500: '#3b0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e5b;
$custom-light: #75538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e5b",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 275.065,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28777,
    "c": 0.12758,
    "h": 306.1
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#3B0E5B
secondary
#5A9530
accent
#F03884
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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