#3B1165#3B1165

#3B1165 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.135 H 300.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#3B1165
RGBrgb(59, 17, 101)
HSLhsl(270, 71%, 23%)
HSVhsv(270, 83%, 40%)
CMYKcmyk(41.6%, 83.2%, 0%, 60.4%)
CIE-LABlab(16.85, 37.30, -40.62)
CIE-LCHlch(16.85, 55.15, 312.56°)
OKLaboklab(30.01% 0.0696 -0.1161)
OKLCHoklch(30.01% 0.135 300.9)
XYZxyz(4.3525, 2.2703, 12.5183)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1165 #3B6511
analogous
#111165 #3B1165 #651165
triadic
#3B1165 #653B11 #11653B
tetradic
#3B1165 #651111 #3B6511 #116565
square
#3B1165 #651111 #3B6511 #116565
split-complementary
#3B1165 #656511 #116511
monochromatic
#0F041A #1C0831 #3B1165 #5A1A99 #7823CE

Accessibility & contrast

On white

14.44
#3B1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1165
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1165#FFFFFF#000000##FFFFFF
##3B11651.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#31283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1165;
/* rgb */ color: rgb(59, 17, 101);
/* oklch */ color: oklch(30.0% 0.135 300.9);
Tailwind
colors: {
  custom: {
    50: '#765592',
    500: '#3b1165',
    950: '#000000',
  },
}
SCSS
$custom: #3b1165;
$custom-light: #765592;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1165",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 270,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30015,
    "c": 0.13532,
    "h": 300.9
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#3B1165
secondary
#699D35
accent
#EE3A94
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1165

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

Preview Lab → · Contrast checker → · Palette generator →

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