#3D1BB3#3D1BB3

#3D1BB3 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.4% C 0.214 H 280.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3D1BB3
RGBrgb(61, 27, 179)
HSLhsl(253, 74%, 40%)
HSVhsv(253, 85%, 70%)
CMYKcmyk(65.9%, 84.9%, 0%, 29.8%)
CIE-LABlab(26.82, 54.97, -72.98)
CIE-LCHlch(26.82, 91.36, 306.99°)
OKLaboklab(39.43% 0.0388 -0.2106)
OKLCHoklch(39.43% 0.214 280.4)
XYZxyz(10.4505, 5.0298, 43.0592)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1BB3 #91B31B
analogous
#1B45B3 #3D1BB3 #891BB3
triadic
#3D1BB3 #B33D1B #1BB33D
tetradic
#3D1BB3 #B31B45 #91B31B #1BB389
square
#3D1BB3 #B31B45 #91B31B #1BB389
split-complementary
#3D1BB3 #B3891B #45B31B
monochromatic
#190B49 #2B137E #3D1BB3 #542CDF #7F61E7

Accessibility & contrast

On white

10.47
#3D1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D1BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1BB3
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1BB3#FFFFFF#000000##FFFFFF
##3D1BB31.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d1bb3;
/* rgb */ color: rgb(61, 27, 179);
/* oklch */ color: oklch(39.4% 0.214 280.4);
Tailwind
colors: {
  custom: {
    50: '#845fcb',
    500: '#3d1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #3d1bb3;
$custom-light: #845fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1bb3",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 253.421,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.21415,
    "h": 280.4
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#3D1BB3
secondary
#B3CC5E
accent
#F037C7
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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