#3D1BA0#3D1BA0

#3D1BA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.193 H 283.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3D1BA0
RGBrgb(61, 27, 160)
HSLhsl(255, 71%, 37%)
HSVhsv(255, 83%, 63%)
CMYKcmyk(61.9%, 83.1%, 0%, 37.3%)
CIE-LABlab(24.68, 49.63, -65.05)
CIE-LCHlch(24.68, 81.82, 307.35°)
OKLaboklab(37.34% 0.0454 -0.1875)
OKLCHoklch(37.34% 0.193 283.6)
XYZxyz(8.6596, 4.3134, 33.6271)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1BA0 #7EA01B
analogous
#1B3CA0 #3D1BA0 #801BA0
triadic
#3D1BA0 #A03D1B #1BA03D
tetradic
#3D1BA0 #A01B3C #7EA01B #1BA080
square
#3D1BA0 #A01B3C #7EA01B #1BA080
split-complementary
#3D1BA0 #A0801B #3CA01B
monochromatic
#150937 #29126C #3D1BA0 #5124D4 #7853E2

Accessibility & contrast

On white

11.27
#3D1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3D1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1BA0
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1BA0#FFFFFF#000000##FFFFFF
##3D1BA01.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1ba0;
/* rgb */ color: rgb(61, 27, 160);
/* oklch */ color: oklch(37.3% 0.193 283.6);
Tailwind
colors: {
  custom: {
    50: '#805ebd',
    500: '#3d1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ba0;
$custom-light: #805ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ba0",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 255.338,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.19297,
    "h": 283.6
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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