#3B0E5C#3B0E5C

#3B0E5C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.129 H 305.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3B0E5C
RGBrgb(59, 14, 92)
HSLhsl(275, 74%, 21%)
HSVhsv(275, 85%, 36%)
CMYKcmyk(35.9%, 84.8%, 0%, 63.9%)
CIE-LABlab(15.57, 36.24, -36.71)
CIE-LCHlch(15.57, 51.59, 314.63°)
OKLaboklab(28.87% 0.075 -0.1046)
OKLCHoklch(28.87% 0.129 305.6)
XYZxyz(3.8920, 2.0166, 10.3073)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0E5C #2F5C0E
analogous
#140E5C #3B0E5C #5C0E56
triadic
#3B0E5C #5C3B0E #0E5C3B
tetradic
#3B0E5C #5C140E #2F5C0E #0E565C
square
#3B0E5C #5C140E #2F5C0E #0E565C
split-complementary
#3B0E5C #565C0E #0E5C14
monochromatic
#11041B #190627 #3B0E5C #5D1691 #7F1EC6

Accessibility & contrast

On white

14.96
#3B0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0E5C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0E5C#FFFFFF#000000##FFFFFF
##3B0E5C1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#352335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b0e5c;
/* rgb */ color: rgb(59, 14, 92);
/* oklch */ color: oklch(28.9% 0.129 305.6);
Tailwind
colors: {
  custom: {
    50: '#75538b',
    500: '#3b0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #3b0e5c;
$custom-light: #75538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0e5c",
  "rgb": {
    "r": 59,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 274.615,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28868,
    "c": 0.12865,
    "h": 305.6
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#3B0E5C
secondary
#5B9630
accent
#F03886
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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