#3B1664#3B1664

#3B1664 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.128 H 300.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#3B1664
RGBrgb(59, 22, 100)
HSLhsl(268, 64%, 24%)
HSVhsv(268, 78%, 39%)
CMYKcmyk(41%, 78%, 0%, 60.8%)
CIE-LABlab(17.57, 34.70, -38.78)
CIE-LCHlch(17.57, 52.04, 311.82°)
OKLaboklab(30.5% 0.065 -0.1107)
OKLCHoklch(30.5% 0.128 300.4)
XYZxyz(4.3902, 2.4237, 12.2906)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1664 #3F6416
analogous
#161864 #3B1664 #621664
triadic
#3B1664 #643B16 #16643B
tetradic
#3B1664 #641618 #3F6416 #166462
square
#3B1664 #641618 #3F6416 #166462
split-complementary
#3B1664 #646216 #186416
monochromatic
#0F0619 #1D0B32 #3B1664 #592196 #762CC8

Accessibility & contrast

On white

14.14
#3B1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3B1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1664
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1664#FFFFFF#000000##FFFFFF
##3B16641.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#322A3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3b1664;
/* rgb */ color: rgb(59, 22, 100);
/* oklch */ color: oklch(30.5% 0.128 300.4);
Tailwind
colors: {
  custom: {
    50: '#755791',
    500: '#3b1664',
    950: '#000000',
  },
}
SCSS
$custom: #3b1664;
$custom-light: #755791;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1664",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 268.462,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.12839,
    "h": 300.4
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#3B1664
secondary
#6D9B3B
accent
#E74198
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1664

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

Preview Lab → · Contrast checker → · Palette generator →

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