#3B1890#3B1890

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

Color values

HEX#3B1890
RGBrgb(59, 24, 144)
HSLhsl(258, 71%, 33%)
HSVhsv(258, 83%, 56%)
CMYKcmyk(59%, 83.3%, 0%, 43.5%)
CIE-LABlab(22.29, 46.16, -59.16)
CIE-LCHlch(22.29, 75.04, 307.96°)
OKLaboklab(35.12% 0.0495 -0.1704)
OKLCHoklch(35.12% 0.177 286.2)
XYZxyz(7.1628, 3.5963, 26.6969)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1890 #6D9018
analogous
#183190 #3B1890 #771890
triadic
#3B1890 #903B18 #18903B
tetradic
#3B1890 #901831 #6D9018 #189077
square
#3B1890 #901831 #6D9018 #189077
split-complementary
#3B1890 #907718 #319018
monochromatic
#100727 #260F5C #3B1890 #5021C4 #7143E0

Accessibility & contrast

On white

12.21
#3B1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3B1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1890
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1890#FFFFFF#000000##FFFFFF
##3B18901.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b1890;
/* rgb */ color: rgb(59, 24, 144);
/* oklch */ color: oklch(35.1% 0.177 286.2);
Tailwind
colors: {
  custom: {
    50: '#7c5bb2',
    500: '#3b1890',
    950: '#000000',
  },
}
SCSS
$custom: #3b1890;
$custom-light: #7c5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1890",
  "rgb": {
    "r": 59,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 257.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35119,
    "c": 0.17747,
    "h": 286.2
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#3B1890
secondary
#9CC043
accent
#EE3ABA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3B1890

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

Preview Lab → · Contrast checker → · Palette generator →

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