#3B1058#3B1058

#3B1058 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.122 H 307.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3B1058
RGBrgb(59, 16, 88)
HSLhsl(276, 69%, 20%)
HSVhsv(276, 82%, 35%)
CMYKcmyk(33%, 81.8%, 0%, 65.5%)
CIE-LABlab(15.51, 34.38, -34.12)
CIE-LCHlch(15.51, 48.44, 315.22°)
OKLaboklab(28.72% 0.0741 -0.097)
OKLCHoklch(28.72% 0.122 307.4)
XYZxyz(3.7500, 2.0050, 9.4201)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1058 #2D5810
analogous
#171058 #3B1058 #581051
triadic
#3B1058 #583B10 #10583B
tetradic
#3B1058 #581710 #2D5810 #105158
square
#3B1058 #581710 #2D5810 #105158
split-complementary
#3B1058 #515810 #105817
monochromatic
#11051A #180724 #3B1058 #5E198C #8023C0

Accessibility & contrast

On white

14.99
#3B1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1058
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1058#FFFFFF#000000##FFFFFF
##3B10581.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1058;
/* rgb */ color: rgb(59, 16, 88);
/* oklch */ color: oklch(28.7% 0.122 307.4);
Tailwind
colors: {
  custom: {
    50: '#755388',
    500: '#3b1058',
    950: '#000000',
  },
}
SCSS
$custom: #3b1058;
$custom-light: #755388;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1058",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 275.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.12205,
    "h": 307.4
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#3B1058
secondary
#599132
accent
#EC3C83
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3B1058

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

Preview Lab → · Contrast checker → · Palette generator →

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