#3B0E5E#3B0E5E

#3B0E5E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.131 H 304.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#3B0E5E
RGBrgb(59, 14, 94)
HSLhsl(274, 74%, 21%)
HSVhsv(274, 85%, 37%)
CMYKcmyk(37.2%, 85.1%, 0%, 63.1%)
CIE-LABlab(15.76, 36.75, -37.75)
CIE-LCHlch(15.76, 52.68, 314.23°)
OKLaboklab(29.05% 0.0744 -0.1076)
OKLCHoklch(29.05% 0.131 304.6)
XYZxyz(3.9806, 2.0521, 10.7739)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E5E #315E0E
analogous
#130E5E #3B0E5E #5E0E59
triadic
#3B0E5E #5E3B0E #0E5E3B
tetradic
#3B0E5E #5E130E #315E0E #0E595E
square
#3B0E5E #5E130E #315E0E #0E595E
split-complementary
#3B0E5E #595E0E #0E5E13
monochromatic
#11041B #1A0629 #3B0E5E #5C1693 #7E1EC9

Accessibility & contrast

On white

14.89
#3B0E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E5E
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E5E#FFFFFF#000000##FFFFFF
##3B0E5E1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.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: #3b0e5e;
/* rgb */ color: rgb(59, 14, 94);
/* oklch */ color: oklch(29.1% 0.131 304.6);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3b0e5e',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e5e;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e5e",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 273.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29054,
    "c": 0.13081,
    "h": 304.6
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#3B0E5E
secondary
#5D9830
accent
#F13788
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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