#3B0F58#3B0F58

#3B0F58 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.123 H 307.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3B0F58
RGBrgb(59, 15, 88)
HSLhsl(276, 71%, 20%)
HSVhsv(276, 83%, 35%)
CMYKcmyk(33%, 83%, 0%, 65.5%)
CIE-LABlab(15.36, 34.82, -34.37)
CIE-LCHlch(15.36, 48.92, 315.37°)
OKLaboklab(28.61% 0.0751 -0.0977)
OKLCHoklch(28.61% 0.123 307.6)
XYZxyz(3.7355, 1.9761, 9.4153)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0F58 #2C580F
analogous
#160F58 #3B0F58 #580F51
triadic
#3B0F58 #583B0F #0F583B
tetradic
#3B0F58 #58160F #2C580F #0F5158
square
#3B0F58 #58160F #2C580F #0F5158
split-complementary
#3B0F58 #51580F #0F5816
monochromatic
#12041A #180624 #3B0F58 #5E188C #8121C1

Accessibility & contrast

On white

15.05
#3B0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0F58
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0F58#FFFFFF#000000##FFFFFF
##3B0F581.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#362133
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0f58;
/* rgb */ color: rgb(59, 15, 88);
/* oklch */ color: oklch(28.6% 0.123 307.6);
Tailwind
colors: {
  custom: {
    50: '#755388',
    500: '#3b0f58',
    950: '#000000',
  },
}
SCSS
$custom: #3b0f58;
$custom-light: #755388;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0f58",
  "rgb": {
    "r": 59,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 276.164,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28608,
    "c": 0.12323,
    "h": 307.6
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#3B0F58
secondary
#579231
accent
#EE3A81
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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