#3D1E9F#3D1E9F

#3D1E9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.189 H 283.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3D1E9F
RGBrgb(61, 30, 159)
HSLhsl(254, 68%, 37%)
HSVhsv(254, 81%, 62%)
CMYKcmyk(61.6%, 81.1%, 0%, 37.6%)
CIE-LABlab(25.02, 48.03, -63.87)
CIE-LCHlch(25.02, 79.92, 306.94°)
OKLaboklab(37.54% 0.0441 -0.1842)
OKLCHoklch(37.54% 0.189 283.5)
XYZxyz(8.6448, 4.4233, 33.1924)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E9F #809F1E
analogous
#1E3F9F #3D1E9F #7E1E9F
triadic
#3D1E9F #9F3D1E #1E9F3D
tetradic
#3D1E9F #9F1E3F #809F1E #1E9F7E
square
#3D1E9F #9F1E3F #809F1E #1E9F7E
split-complementary
#3D1E9F #9F7E1E #3F9F1E
monochromatic
#150B38 #29146C #3D1E9F #5128D2 #7858DF

Accessibility & contrast

On white

11.14
#3D1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E9F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E9F#FFFFFF#000000##FFFFFF
##3D1E9F1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d1e9f;
/* rgb */ color: rgb(61, 30, 159);
/* oklch */ color: oklch(37.5% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#805fbd',
    500: '#3d1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e9f;
$custom-light: #805fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e9f",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 254.419,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.18938,
    "h": 283.5
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#3D1E9F
secondary
#A9C356
accent
#EB3DC1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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