#3B0F5E#3B0F5E

#3B0F5E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.130 H 304.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#3B0F5E
RGBrgb(59, 15, 94)
HSLhsl(273, 72%, 21%)
HSVhsv(273, 84%, 37%)
CMYKcmyk(37.2%, 84%, 0%, 63.1%)
CIE-LABlab(15.90, 36.34, -37.52)
CIE-LCHlch(15.90, 52.23, 314.08°)
OKLaboklab(29.15% 0.0735 -0.1069)
OKLCHoklch(29.15% 0.13 304.5)
XYZxyz(3.9944, 2.0796, 10.7785)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F5E #325E0F
analogous
#140F5E #3B0F5E #5E0F5A
triadic
#3B0F5E #5E3B0F #0F5E3B
tetradic
#3B0F5E #5E140F #325E0F #0F5A5E
square
#3B0F5E #5E140F #325E0F #0F5A5E
split-complementary
#3B0F5E #5A5E0F #0F5E14
monochromatic
#11041A #1A0729 #3B0F5E #5C1793 #7D20C8

Accessibility & contrast

On white

14.83
#3B0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3B0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0F5E
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F5E#FFFFFF#000000##FFFFFF
##3B0F5E1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#342436
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b0f5e;
/* rgb */ color: rgb(59, 15, 94);
/* oklch */ color: oklch(29.2% 0.130 304.5);
Tailwind
colors: {
  custom: {
    50: '#75538c',
    500: '#3b0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f5e;
$custom-light: #75538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f5e",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 273.418,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29153,
    "c": 0.12975,
    "h": 304.5
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#3B0F5E
secondary
#5F9731
accent
#EF398A
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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