#3B1990#3B1990

#3B1990 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.177 H 286.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#3B1990
RGBrgb(59, 25, 144)
HSLhsl(257, 70%, 33%)
HSVhsv(257, 83%, 56%)
CMYKcmyk(59%, 82.6%, 0%, 43.5%)
CIE-LABlab(22.44, 45.72, -58.92)
CIE-LCHlch(22.44, 74.58, 307.81°)
OKLaboklab(35.22% 0.0489 -0.1697)
OKLCHoklch(35.22% 0.177 286.1)
XYZxyz(7.1838, 3.6383, 26.7039)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1990 #6E9019
analogous
#193290 #3B1990 #761990
triadic
#3B1990 #903B19 #19903B
tetradic
#3B1990 #901932 #6E9019 #199076
square
#3B1990 #901932 #6E9019 #199076
split-complementary
#3B1990 #907619 #329019
monochromatic
#100728 #26105C #3B1990 #5022C4 #7145DF

Accessibility & contrast

On white

12.15
#3B1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3B1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1990
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1990#FFFFFF#000000##FFFFFF
##3B19901.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#0E3D55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3b1990;
/* rgb */ color: rgb(59, 25, 144);
/* oklch */ color: oklch(35.2% 0.177 286.1);
Tailwind
colors: {
  custom: {
    50: '#7c5bb2',
    500: '#3b1990',
    950: '#000000',
  },
}
SCSS
$custom: #3b1990;
$custom-light: #7c5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1990",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 257.143,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35221,
    "c": 0.17663,
    "h": 286.1
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#3B1990
secondary
#9DC045
accent
#ED3BBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1990

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

Preview Lab → · Contrast checker → · Palette generator →

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