#3D1BA1#3D1BA1

#3D1BA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.194 H 283.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3D1BA1
RGBrgb(61, 27, 161)
HSLhsl(255, 71%, 37%)
HSVhsv(255, 83%, 63%)
CMYKcmyk(62.1%, 83.2%, 0%, 36.9%)
CIE-LABlab(24.79, 49.92, -65.47)
CIE-LCHlch(24.79, 82.33, 307.32°)
OKLaboklab(37.44% 0.0451 -0.1888)
OKLCHoklch(37.44% 0.194 283.4)
XYZxyz(8.7474, 4.3486, 34.0897)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1BA1 #7FA11B
analogous
#1B3CA1 #3D1BA1 #801BA1
triadic
#3D1BA1 #A13D1B #1BA13D
tetradic
#3D1BA1 #A11B3C #7FA11B #1BA180
square
#3D1BA1 #A11B3C #7FA11B #1BA180
split-complementary
#3D1BA1 #A1801B #3CA11B
monochromatic
#150938 #29126D #3D1BA1 #5124D5 #7854E2

Accessibility & contrast

On white

11.23
#3D1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D1BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1BA1
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1BA1#FFFFFF#000000##FFFFFF
##3D1BA11.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1ba1;
/* rgb */ color: rgb(61, 27, 161);
/* oklch */ color: oklch(37.4% 0.194 283.4);
Tailwind
colors: {
  custom: {
    50: '#805ebe',
    500: '#3d1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ba1;
$custom-light: #805ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ba1",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 255.224,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.19411,
    "h": 283.4
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#3D1BA1
secondary
#A8C552
accent
#EE3AC0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3D1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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