#3B1164#3B1164

#3B1164 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.134 H 301.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3B1164
RGBrgb(59, 17, 100)
HSLhsl(270, 71%, 23%)
HSVhsv(270, 83%, 39%)
CMYKcmyk(41%, 83%, 0%, 60.8%)
CIE-LABlab(16.75, 37.04, -40.11)
CIE-LCHlch(16.75, 54.60, 312.72°)
OKLaboklab(29.92% 0.0699 -0.1146)
OKLCHoklch(29.92% 0.134 301.4)
XYZxyz(4.3038, 2.2508, 12.2618)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1164 #3A6411
analogous
#111164 #3B1164 #641163
triadic
#3B1164 #643B11 #11643B
tetradic
#3B1164 #641111 #3A6411 #116364
square
#3B1164 #641111 #3A6411 #116364
split-complementary
#3B1164 #636411 #116411
monochromatic
#0F041A #1C0830 #3B1164 #5A1A98 #7923CD

Accessibility & contrast

On white

14.48
#3B1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3B1164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1164
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1164#FFFFFF#000000##FFFFFF
##3B11641.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#32273A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3b1164;
/* rgb */ color: rgb(59, 17, 100);
/* oklch */ color: oklch(29.9% 0.134 301.4);
Tailwind
colors: {
  custom: {
    50: '#765591',
    500: '#3b1164',
    950: '#000000',
  },
}
SCSS
$custom: #3b1164;
$custom-light: #765591;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1164",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 270.361,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2992,
    "c": 0.13421,
    "h": 301.4
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#3B1164
secondary
#689C35
accent
#EE3A93
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1164

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

Preview Lab → · Contrast checker → · Palette generator →

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