#3B1660#3B1660

#3B1660 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.124 H 302.2°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#3B1660
RGBrgb(59, 22, 96)
HSLhsl(270, 63%, 23%)
HSVhsv(270, 77%, 38%)
CMYKcmyk(38.5%, 77.1%, 0%, 62.4%)
CIE-LABlab(17.22, 33.61, -36.71)
CIE-LCHlch(17.22, 49.77, 312.48°)
OKLaboklab(30.14% 0.0659 -0.1046)
OKLCHoklch(30.14% 0.124 302.2)
XYZxyz(4.2014, 2.3481, 11.2960)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1660 #3B6016
analogous
#161660 #3B1660 #601660
triadic
#3B1660 #603B16 #16603B
tetradic
#3B1660 #601616 #3B6016 #166060
square
#3B1660 #601616 #3B6016 #166060
split-complementary
#3B1660 #606016 #166016
monochromatic
#0F0619 #1C0B2E #3B1660 #5A2192 #782DC4

Accessibility & contrast

On white

14.29
#3B1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3B1660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1660
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1660#FFFFFF#000000##FFFFFF
##3B16601.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#332839
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1660;
/* rgb */ color: rgb(59, 22, 96);
/* oklch */ color: oklch(30.1% 0.124 302.2);
Tailwind
colors: {
  custom: {
    50: '#75578e',
    500: '#3b1660',
    950: '#000000',
  },
}
SCSS
$custom: #3b1660;
$custom-light: #75578e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1660",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 270,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30136,
    "c": 0.12365,
    "h": 302.2
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#3B1660
secondary
#69973B
accent
#E64294
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3B1660

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

Preview Lab → · Contrast checker → · Palette generator →

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