#3D1BBB#3D1BBB

#3D1BBB is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.223 H 279.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3D1BBB
RGBrgb(61, 27, 187)
HSLhsl(253, 75%, 42%)
HSVhsv(253, 86%, 73%)
CMYKcmyk(67.4%, 85.6%, 0%, 26.7%)
CIE-LABlab(27.74, 57.18, -76.20)
CIE-LCHlch(27.74, 95.27, 306.88°)
OKLaboklab(40.33% 0.036 -0.22)
OKLCHoklch(40.33% 0.223 279.3)
XYZxyz(11.2832, 5.3629, 47.4446)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1BBB #99BB1B
analogous
#1B49BB #3D1BBB #8D1BBB
triadic
#3D1BBB #BB3D1B #1BBB3D
tetradic
#3D1BBB #BB1B49 #99BB1B #1BBB8D
square
#3D1BBB #BB1B49 #99BB1B #1BBB8D
split-complementary
#3D1BBB #BB8D1B #49BB1B
monochromatic
#1A0C50 #2C1386 #3D1BBB #5732E1 #8367E9

Accessibility & contrast

On white

10.13
#3D1BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D1BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1BBB
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1BBB#FFFFFF#000000##FFFFFF
##3D1BBB1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d1bbb;
/* rgb */ color: rgb(61, 27, 187);
/* oklch */ color: oklch(40.3% 0.223 279.3);
Tailwind
colors: {
  custom: {
    50: '#8560d1',
    500: '#3d1bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3d1bbb;
$custom-light: #8560d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1bbb",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 252.75,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.22291,
    "h": 279.3
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#3D1BBB
secondary
#B8CE63
accent
#F136CA
background
#F9F5FD
surface
#F1EAFA
border
#CBC6D3
text
#0D0514
muted
#7E7983

Preview Lab

Preview with #3D1BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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