#3D1E9B#3D1E9B

#3D1E9B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.185 H 284.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3D1E9B
RGBrgb(61, 30, 155)
HSLhsl(255, 68%, 36%)
HSVhsv(255, 81%, 61%)
CMYKcmyk(60.6%, 80.6%, 0%, 39.2%)
CIE-LABlab(24.60, 46.87, -62.13)
CIE-LCHlch(24.60, 77.83, 307.03°)
OKLaboklab(37.12% 0.0454 -0.1791)
OKLCHoklch(37.12% 0.185 284.2)
XYZxyz(8.3033, 4.2867, 31.3939)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E9B #7C9B1E
analogous
#1E3E9B #3D1E9B #7C1E9B
triadic
#3D1E9B #9B3D1E #1E9B3D
tetradic
#3D1E9B #9B1E3E #7C9B1E #1E9B7C
square
#3D1E9B #9B1E3E #7C9B1E #1E9B7C
split-complementary
#3D1E9B #9B7C1E #3E9B1E
monochromatic
#150A34 #291468 #3D1E9B #5128CE #7755DE

Accessibility & contrast

On white

11.31
#3D1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1E9B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E9B#FFFFFF#000000##FFFFFF
##3D1E9B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d1e9b;
/* rgb */ color: rgb(61, 30, 155);
/* oklch */ color: oklch(37.1% 0.185 284.2);
Tailwind
colors: {
  custom: {
    50: '#7f5fba',
    500: '#3d1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e9b;
$custom-light: #7f5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e9b",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 254.88,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.18475,
    "h": 284.2
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#3D1E9B
secondary
#A6C253
accent
#EA3DC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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