#3B2095#3B2095

#3B2095 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.176 H 284.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3B2095
RGBrgb(59, 32, 149)
HSLhsl(254, 65%, 35%)
HSVhsv(254, 79%, 58%)
CMYKcmyk(60.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.10, 43.89, -59.26)
CIE-LCHlch(24.10, 73.75, 306.52°)
OKLaboklab(36.54% 0.0428 -0.1708)
OKLCHoklch(36.54% 0.176 284.1)
XYZxyz(7.7433, 4.1323, 28.8175)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2095 #7A9520
analogous
#203F95 #3B2095 #752095
triadic
#3B2095 #953B20 #20953B
tetradic
#3B2095 #95203F #7A9520 #209575
square
#3B2095 #95203F #7A9520 #209575
split-complementary
#3B2095 #957520 #3F9520
monochromatic
#130A30 #271563 #3B2095 #4F2BC7 #7455DA

Accessibility & contrast

On white

11.50
#3B2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3B2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2095
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2095#FFFFFF#000000##FFFFFF
##3B20951.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b2095;
/* rgb */ color: rgb(59, 32, 149);
/* oklch */ color: oklch(36.5% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#7d5fb5',
    500: '#3b2095',
    950: '#000000',
  },
}
SCSS
$custom: #3b2095;
$custom-light: #7d5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2095",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 253.846,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36537,
    "c": 0.17609,
    "h": 284.1
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#3B2095
secondary
#A5BE53
accent
#E840C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2095

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

Preview Lab → · Contrast checker → · Palette generator →

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