#3A1076#3A1076

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

Color values

HEX#3A1076
RGBrgb(58, 16, 118)
HSLhsl(265, 76%, 26%)
HSVhsv(265, 86%, 46%)
CMYKcmyk(50.8%, 86.4%, 0%, 53.7%)
CIE-LABlab(18.27, 42.10, -49.37)
CIE-LCHlch(18.27, 64.88, 310.46°)
OKLaboklab(31.49% 0.0627 -0.1417)
OKLCHoklch(31.49% 0.155 293.9)
XYZxyz(5.1993, 2.5780, 17.3597)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1076 #4C7610
analogous
#101976 #3A1076 #6D1076
triadic
#3A1076 #763A10 #10763A
tetradic
#3A1076 #761019 #4C7610 #10766D
square
#3A1076 #761019 #4C7610 #10766D
split-complementary
#3A1076 #766D10 #197610
monochromatic
#0D041B #200940 #3A1076 #5417AC #6F20E1

Accessibility & contrast

On white

13.86
#3A1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1076
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1076#FFFFFF#000000##FFFFFF
##3A10761.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1076;
/* rgb */ color: rgb(58, 16, 118);
/* oklch */ color: oklch(31.5% 0.155 293.9);
Tailwind
colors: {
  custom: {
    50: '#78559e',
    500: '#3a1076',
    950: '#000000',
  },
}
SCSS
$custom: #3a1076;
$custom-light: #78559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1076",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 264.706,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31488,
    "c": 0.15497,
    "h": 293.9
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#3A1076
secondary
#7CAD35
accent
#F335A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030F
muted
#7C787E

Preview Lab

Preview with #3A1076

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

Preview Lab → · Contrast checker → · Palette generator →

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