#3D1BAA#3D1BAA

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

Color values

HEX#3D1BAA
RGBrgb(61, 27, 170)
HSLhsl(254, 73%, 39%)
HSVhsv(254, 84%, 67%)
CMYKcmyk(64.1%, 84.1%, 0%, 33.3%)
CIE-LABlab(25.80, 52.46, -69.27)
CIE-LCHlch(25.80, 86.89, 307.14°)
OKLaboklab(38.43% 0.0419 -0.1998)
OKLCHoklch(38.43% 0.204 281.8)
XYZxyz(9.5698, 4.6775, 38.4210)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1BAA #88AA1B
analogous
#1B40AA #3D1BAA #841BAA
triadic
#3D1BAA #AA3D1B #1BAA3D
tetradic
#3D1BAA #AA1B40 #88AA1B #1BAA84
square
#3D1BAA #AA1B40 #88AA1B #1BAA84
split-complementary
#3D1BAA #AA841B #40AA1B
monochromatic
#170A40 #2A1375 #3D1BAA #5126DC #7B5BE5

Accessibility & contrast

On white

10.85
#3D1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1BAA
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1BAA#FFFFFF#000000##FFFFFF
##3D1BAA1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d1baa;
/* rgb */ color: rgb(61, 27, 170);
/* oklch */ color: oklch(38.4% 0.204 281.8);
Tailwind
colors: {
  custom: {
    50: '#825ec5',
    500: '#3d1baa',
    950: '#000000',
  },
}
SCSS
$custom: #3d1baa;
$custom-light: #825ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1baa",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 254.266,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38428,
    "c": 0.20419,
    "h": 281.8
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#3D1BAA
secondary
#AEC958
accent
#EF39C4
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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