#3D1E8A#3D1E8A

#3D1E8A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.165 H 287.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#3D1E8A
RGBrgb(61, 30, 138)
HSLhsl(257, 64%, 33%)
HSVhsv(257, 78%, 54%)
CMYKcmyk(55.8%, 78.3%, 0%, 45.9%)
CIE-LABlab(22.85, 41.89, -54.50)
CIE-LCHlch(22.85, 68.74, 307.55°)
OKLaboklab(35.37% 0.0506 -0.1568)
OKLCHoklch(35.37% 0.165 287.9)
XYZxyz(6.9748, 3.7553, 24.3971)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E8A #6B8A1E
analogous
#1E358A #3D1E8A #731E8A
triadic
#3D1E8A #8A3D1E #1E8A3D
tetradic
#3D1E8A #8A1E35 #6B8A1E #1E8A73
square
#3D1E8A #8A1E35 #6B8A1E #1E8A73
split-complementary
#3D1E8A #8A731E #358A1E
monochromatic
#110825 #271358 #3D1E8A #5329BC #734BD8

Accessibility & contrast

On white

11.99
#3D1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3D1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E8A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E8A#FFFFFF#000000##FFFFFF
##3D1E8A1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#1D3D53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d1e8a;
/* rgb */ color: rgb(61, 30, 138);
/* oklch */ color: oklch(35.4% 0.165 287.9);
Tailwind
colors: {
  custom: {
    50: '#7c5ead',
    500: '#3d1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e8a;
$custom-light: #7c5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e8a",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 257.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35369,
    "c": 0.16477,
    "h": 287.9
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#3D1E8A
secondary
#9ABA4A
accent
#E741B7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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