#3B1060#3B1060

#3B1060 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.131 H 303.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#3B1060
RGBrgb(59, 16, 96)
HSLhsl(272, 71%, 22%)
HSVhsv(272, 83%, 38%)
CMYKcmyk(38.5%, 83.3%, 0%, 62.4%)
CIE-LABlab(16.23, 36.43, -38.31)
CIE-LCHlch(16.23, 52.87, 313.56°)
OKLaboklab(29.44% 0.072 -0.1093)
OKLCHoklch(29.44% 0.131 303.4)
XYZxyz(4.0997, 2.1449, 11.2621)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1060 #356010
analogous
#131060 #3B1060 #60105D
triadic
#3B1060 #603B10 #10603B
tetradic
#3B1060 #601310 #356010 #105D60
square
#3B1060 #601310 #356010 #105D60
split-complementary
#3B1060 #5D6010 #106013
monochromatic
#10041A #1B072C #3B1060 #5B1994 #7B21C9

Accessibility & contrast

On white

14.70
#3B1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3B1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1060
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1060#FFFFFF#000000##FFFFFF
##3B10601.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#332538
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3b1060;
/* rgb */ color: rgb(59, 16, 96);
/* oklch */ color: oklch(29.4% 0.131 303.4);
Tailwind
colors: {
  custom: {
    50: '#75548e',
    500: '#3b1060',
    950: '#000000',
  },
}
SCSS
$custom: #3b1060;
$custom-light: #75548e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1060",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 272.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29441,
    "c": 0.13086,
    "h": 303.4
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#3B1060
secondary
#629933
accent
#EE3A8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B1060

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

Preview Lab → · Contrast checker → · Palette generator →

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