#3B2190#3B2190

#3B2190 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.169 H 284.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#3B2190
RGBrgb(59, 33, 144)
HSLhsl(254, 63%, 35%)
HSVhsv(254, 77%, 56%)
CMYKcmyk(59%, 77.1%, 0%, 43.5%)
CIE-LABlab(23.77, 41.88, -56.72)
CIE-LCHlch(23.77, 70.50, 306.44°)
OKLaboklab(36.15% 0.0435 -0.1634)
OKLCHoklch(36.15% 0.169 284.9)
XYZxyz(7.3800, 4.0307, 26.7693)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2190 #769021
analogous
#213F90 #3B2190 #732190
triadic
#3B2190 #903B21 #21903B
tetradic
#3B2190 #90213F #769021 #219073
square
#3B2190 #90213F #769021 #219073
split-complementary
#3B2190 #907321 #3F9021
monochromatic
#120A2C #27165E #3B2190 #4F2CC2 #7354D8

Accessibility & contrast

On white

11.63
#3B2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3B2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2190
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2190#FFFFFF#000000##FFFFFF
##3B21901.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#0D4057
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2190;
/* rgb */ color: rgb(59, 33, 144);
/* oklch */ color: oklch(36.2% 0.169 284.9);
Tailwind
colors: {
  custom: {
    50: '#7c60b2',
    500: '#3b2190',
    950: '#000000',
  },
}
SCSS
$custom: #3b2190;
$custom-light: #7c60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2190",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 254.054,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.16907,
    "h": 284.9
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#3B2190
secondary
#A3BB51
accent
#E642BF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3B2190

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

Preview Lab → · Contrast checker → · Palette generator →

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