#3B1076#3B1076

#3B1076 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.155 H 294.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3B1076
RGBrgb(59, 16, 118)
HSLhsl(265, 76%, 26%)
HSVhsv(265, 86%, 46%)
CMYKcmyk(50%, 86.4%, 0%, 53.7%)
CIE-LABlab(18.40, 42.24, -49.14)
CIE-LCHlch(18.40, 64.80, 310.68°)
OKLaboklab(31.61% 0.0644 -0.141)
OKLCHoklch(31.61% 0.155 294.5)
XYZxyz(5.2580, 2.6082, 17.3624)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1076 #4B7610
analogous
#101876 #3B1076 #6E1076
triadic
#3B1076 #763B10 #10763B
tetradic
#3B1076 #761018 #4B7610 #10766E
square
#3B1076 #761018 #4B7610 #10766E
split-complementary
#3B1076 #766E10 #187610
monochromatic
#0D041B #200940 #3B1076 #5617AC #7120E1

Accessibility & contrast

On white

13.80
#3B1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3B1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1076
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1076#FFFFFF#000000##FFFFFF
##3B10761.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#292F45
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1076;
/* rgb */ color: rgb(59, 16, 118);
/* oklch */ color: oklch(31.6% 0.155 294.5);
Tailwind
colors: {
  custom: {
    50: '#78559e',
    500: '#3b1076',
    950: '#000000',
  },
}
SCSS
$custom: #3b1076;
$custom-light: #78559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1076",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 265.294,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.15503,
    "h": 294.5
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#3B1076
secondary
#7AAD35
accent
#F335A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B1076

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

Preview Lab → · Contrast checker → · Palette generator →

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