#3B2995#3B2995

#3B2995 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.167 H 282.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3B2995
RGBrgb(59, 41, 149)
HSLhsl(250, 57%, 37%)
HSVhsv(250, 72%, 58%)
CMYKcmyk(60.4%, 72.5%, 0%, 41.6%)
CIE-LABlab(25.82, 39.05, -56.45)
CIE-LCHlch(25.82, 68.64, 304.68°)
OKLaboklab(37.75% 0.0361 -0.1626)
OKLCHoklch(37.75% 0.167 282.5)
XYZxyz(8.0197, 4.6851, 28.9097)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2995 #839529
analogous
#294D95 #3B2995 #712995
triadic
#3B2995 #953B29 #29953B
tetradic
#3B2995 #95294D #839529 #299571
square
#3B2995 #95294D #839529 #299571
split-complementary
#3B2995 #957129 #4D9529
monochromatic
#150F35 #281C65 #3B2995 #4E36C5 #7764D4

Accessibility & contrast

On white

10.84
#3B2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3B2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2995
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2995#FFFFFF#000000##FFFFFF
##3B29951.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b2995;
/* rgb */ color: rgb(59, 41, 149);
/* oklch */ color: oklch(37.7% 0.167 282.5);
Tailwind
colors: {
  custom: {
    50: '#7c65b5',
    500: '#3b2995',
    950: '#000000',
  },
}
SCSS
$custom: #3b2995;
$custom-light: #7c65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2995",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 250,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.1666,
    "h": 282.5
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#3B2995
secondary
#ABBA60
accent
#E048C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B2995

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

Preview Lab → · Contrast checker → · Palette generator →

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