#3B1CAE#3B1CAE

#3B1CAE is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.208 H 280.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3B1CAE
RGBrgb(59, 28, 174)
HSLhsl(253, 72%, 40%)
HSVhsv(253, 84%, 68%)
CMYKcmyk(66.1%, 83.9%, 0%, 31.8%)
CIE-LABlab(26.20, 53.00, -71.01)
CIE-LCHlch(26.20, 88.61, 306.74°)
OKLaboklab(38.8% 0.037 -0.205)
OKLCHoklch(38.8% 0.208 280.2)
XYZxyz(9.8564, 4.8155, 40.4463)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1CAE #8FAE1C
analogous
#1C46AE #3B1CAE #841CAE
triadic
#3B1CAE #AE3B1C #1CAE3B
tetradic
#3B1CAE #AE1C46 #8FAE1C #1CAE84
square
#3B1CAE #AE1C46 #8FAE1C #1CAE84
split-complementary
#3B1CAE #AE841C #46AE1C
monochromatic
#170B45 #291479 #3B1CAE #502ADD #7C5FE5

Accessibility & contrast

On white

10.70
#3B1CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3B1CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1CAE
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1CAE#FFFFFF#000000##FFFFFF
##3B1CAE1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b1cae;
/* rgb */ color: rgb(59, 28, 174);
/* oklch */ color: oklch(38.8% 0.208 280.2);
Tailwind
colors: {
  custom: {
    50: '#825fc8',
    500: '#3b1cae',
    950: '#000000',
  },
}
SCSS
$custom: #3b1cae;
$custom-light: #825fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1cae",
  "rgb": {
    "r": 59,
    "g": 28,
    "b": 174
  },
  "hsl": {
    "h": 252.74,
    "s": 72.277,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.20828,
    "h": 280.2
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#3B1CAE
secondary
#B2CA5C
accent
#EF39C8
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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