#3B1690#3B1690

#3B1690 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.179 H 286.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#3B1690
RGBrgb(59, 22, 144)
HSLhsl(258, 73%, 33%)
HSVhsv(258, 85%, 56%)
CMYKcmyk(59%, 84.7%, 0%, 43.5%)
CIE-LABlab(22.00, 46.99, -59.63)
CIE-LCHlch(22.00, 75.92, 308.24°)
OKLaboklab(34.92% 0.0507 -0.1718)
OKLCHoklch(34.92% 0.179 286.4)
XYZxyz(7.1231, 3.5168, 26.6836)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1690 #6B9016
analogous
#162E90 #3B1690 #781690
triadic
#3B1690 #903B16 #16903B
tetradic
#3B1690 #90162E #6B9016 #169078
square
#3B1690 #90162E #6B9016 #169078
split-complementary
#3B1690 #907816 #2E9016
monochromatic
#0F0626 #250E5B #3B1690 #511EC5 #703FE2

Accessibility & contrast

On white

12.33
#3B1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3B1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1690
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1690#FFFFFF#000000##FFFFFF
##3B16901.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#0E3C55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3b1690;
/* rgb */ color: rgb(59, 22, 144);
/* oklch */ color: oklch(34.9% 0.179 286.4);
Tailwind
colors: {
  custom: {
    50: '#7c5ab2',
    500: '#3b1690',
    950: '#000000',
  },
}
SCSS
$custom: #3b1690;
$custom-light: #7c5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1690",
  "rgb": {
    "r": 59,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 258.197,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34923,
    "c": 0.17908,
    "h": 286.4
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#3B1690
secondary
#9AC240
accent
#F038B8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1690

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

Preview Lab → · Contrast checker → · Palette generator →

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