#3B1665#3B1665

#3B1665 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.130 H 300.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#3B1665
RGBrgb(59, 22, 101)
HSLhsl(268, 64%, 24%)
HSVhsv(268, 78%, 40%)
CMYKcmyk(41.6%, 78.2%, 0%, 60.4%)
CIE-LABlab(17.66, 34.97, -39.29)
CIE-LCHlch(17.66, 52.60, 311.67°)
OKLaboklab(30.59% 0.0648 -0.1122)
OKLCHoklch(30.59% 0.13 300)
XYZxyz(4.4389, 2.4432, 12.5471)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1665 #406516
analogous
#161965 #3B1665 #631665
triadic
#3B1665 #653B16 #16653B
tetradic
#3B1665 #651619 #406516 #166563
square
#3B1665 #651619 #406516 #166563
split-complementary
#3B1665 #656316 #196516
monochromatic
#0F0519 #1E0B33 #3B1665 #582197 #762CCA

Accessibility & contrast

On white

14.11
#3B1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3B1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1665
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1665#FFFFFF#000000##FFFFFF
##3B16651.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#312A3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1665;
/* rgb */ color: rgb(59, 22, 101);
/* oklch */ color: oklch(30.6% 0.130 300.0);
Tailwind
colors: {
  custom: {
    50: '#765792',
    500: '#3b1665',
    950: '#000000',
  },
}
SCSS
$custom: #3b1665;
$custom-light: #765792;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1665",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 268.101,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30586,
    "c": 0.12956,
    "h": 300
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#3B1665
secondary
#6E9C3B
accent
#E74199
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1665

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

Preview Lab → · Contrast checker → · Palette generator →

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