#3B1EA9#3B1EA9

#3B1EA9 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.4% C 0.201 H 280.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3B1EA9
RGBrgb(59, 30, 169)
HSLhsl(253, 70%, 39%)
HSVhsv(253, 82%, 66%)
CMYKcmyk(65.1%, 82.2%, 0%, 33.7%)
CIE-LABlab(25.93, 50.72, -68.45)
CIE-LCHlch(25.93, 85.19, 306.54°)
OKLaboklab(38.44% 0.0378 -0.1976)
OKLCHoklch(38.44% 0.201 280.8)
XYZxyz(9.4271, 4.7222, 37.9431)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1EA9 #8CA91E
analogous
#1E47A9 #3B1EA9 #811EA9
triadic
#3B1EA9 #A93B1E #1EA93B
tetradic
#3B1EA9 #A91E47 #8CA91E #1EA981
square
#3B1EA9 #A91E47 #8CA91E #1EA981
split-complementary
#3B1EA9 #A9811E #47A91E
monochromatic
#170C41 #291575 #3B1EA9 #4F2BD9 #7A5FE3

Accessibility & contrast

On white

10.80
#3B1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1EA9
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1EA9#FFFFFF#000000##FFFFFF
##3B1EA91.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b1ea9;
/* rgb */ color: rgb(59, 30, 169);
/* oklch */ color: oklch(38.4% 0.201 280.8);
Tailwind
colors: {
  custom: {
    50: '#8160c4',
    500: '#3b1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3b1ea9;
$custom-light: #8160c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1ea9",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 252.518,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.20114,
    "h": 280.8
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#3B1EA9
secondary
#B1C75C
accent
#ED3BC8
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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