#3B0D58#3B0D58

#3B0D58 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.125 H 307.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#3B0D58
RGBrgb(59, 13, 88)
HSLhsl(277, 74%, 20%)
HSVhsv(277, 85%, 35%)
CMYKcmyk(33%, 85.2%, 0%, 65.5%)
CIE-LABlab(15.07, 35.65, -34.84)
CIE-LCHlch(15.07, 49.84, 315.66°)
OKLaboklab(28.41% 0.077 -0.099)
OKLCHoklch(28.41% 0.125 307.9)
XYZxyz(3.7086, 1.9223, 9.4063)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D58 #2A580D
analogous
#160D58 #3B0D58 #580D50
triadic
#3B0D58 #583B0D #0D583B
tetradic
#3B0D58 #58160D #2A580D #0D5058
square
#3B0D58 #58160D #2A580D #0D5058
split-complementary
#3B0D58 #50580D #0D5816
monochromatic
#12041B #170523 #3B0D58 #5F158D #831DC3

Accessibility & contrast

On white

15.17
#3B0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3B0D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D58
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D58#FFFFFF#000000##FFFFFF
##3B0D581.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#362033
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0d58;
/* rgb */ color: rgb(59, 13, 88);
/* oklch */ color: oklch(28.4% 0.125 307.9);
Tailwind
colors: {
  custom: {
    50: '#755288',
    500: '#3b0d58',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d58;
$custom-light: #755288;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d58",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 276.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28406,
    "c": 0.12545,
    "h": 307.9
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#3B0D58
secondary
#55932E
accent
#F1377F
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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