#3B0E5D#3B0E5D

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

Color values

HEX#3B0E5D
RGBrgb(59, 14, 93)
HSLhsl(274, 74%, 21%)
HSVhsv(274, 85%, 36%)
CMYKcmyk(36.6%, 84.9%, 0%, 63.5%)
CIE-LABlab(15.67, 36.50, -37.23)
CIE-LCHlch(15.67, 52.14, 314.43°)
OKLaboklab(28.96% 0.0747 -0.1061)
OKLCHoklch(28.96% 0.13 305.1)
XYZxyz(3.9360, 2.0342, 10.5391)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E5D #305D0E
analogous
#130E5D #3B0E5D #5D0E57
triadic
#3B0E5D #5D3B0E #0E5D3B
tetradic
#3B0E5D #5D130E #305D0E #0E575D
square
#3B0E5D #5D130E #305D0E #0E575D
split-complementary
#3B0E5D #575D0E #0E5D13
monochromatic
#11041B #190628 #3B0E5D #5D1692 #7E1EC7

Accessibility & contrast

On white

14.93
#3B0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E5D
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E5D#FFFFFF#000000##FFFFFF
##3B0E5D1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#352336
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0e5d;
/* rgb */ color: rgb(59, 14, 93);
/* oklch */ color: oklch(29.0% 0.130 305.1);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3b0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e5d;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e5d",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 274.177,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.12973,
    "h": 305.1
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#3B0E5D
secondary
#5C9730
accent
#F03787
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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