#3B1EA6#3B1EA6

#3B1EA6 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.198 H 281.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3B1EA6
RGBrgb(59, 30, 166)
HSLhsl(253, 69%, 38%)
HSVhsv(253, 82%, 65%)
CMYKcmyk(64.5%, 81.9%, 0%, 34.9%)
CIE-LABlab(25.60, 49.85, -67.19)
CIE-LCHlch(25.60, 83.66, 306.58°)
OKLaboklab(38.11% 0.0388 -0.1939)
OKLCHoklch(38.11% 0.198 281.3)
XYZxyz(9.1487, 4.6108, 36.4769)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1EA6 #89A61E
analogous
#1E45A6 #3B1EA6 #7F1EA6
triadic
#3B1EA6 #A63B1E #1EA63B
tetradic
#3B1EA6 #A61E45 #89A61E #1EA67F
square
#3B1EA6 #A61E45 #89A61E #1EA67F
split-complementary
#3B1EA6 #A67F1E #45A61E
monochromatic
#160B3E #291572 #3B1EA6 #4E29D8 #795DE2

Accessibility & contrast

On white

10.92
#3B1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3B1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1EA6
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1EA6#FFFFFF#000000##FFFFFF
##3B1EA61.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b1ea6;
/* rgb */ color: rgb(59, 30, 166);
/* oklch */ color: oklch(38.1% 0.198 281.3);
Tailwind
colors: {
  custom: {
    50: '#805fc2',
    500: '#3b1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3b1ea6;
$custom-light: #805fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1ea6",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 252.794,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38114,
    "c": 0.19771,
    "h": 281.3
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#3B1EA6
secondary
#AFC65A
accent
#EC3CC7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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