#3D1E70#3D1E70

#3D1E70 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.133 H 295.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#3D1E70
RGBrgb(61, 30, 112)
HSLhsl(263, 58%, 28%)
HSVhsv(263, 73%, 44%)
CMYKcmyk(45.5%, 73.2%, 0%, 56.1%)
CIE-LABlab(20.40, 34.27, -41.99)
CIE-LCHlch(20.40, 54.19, 309.22°)
OKLaboklab(32.89% 0.0571 -0.1201)
OKLCHoklch(32.89% 0.133 295.4)
XYZxyz(5.3126, 3.0904, 15.6427)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E70 #51701E
analogous
#1E2870 #3D1E70 #661E70
triadic
#3D1E70 #703D1E #1E703D
tetradic
#3D1E70 #701E28 #51701E #1E7066
square
#3D1E70 #701E28 #51701E #1E7066
split-complementary
#3D1E70 #70661E #28701E
monochromatic
#0D0618 #231140 #3D1E70 #572BA0 #733DCB

Accessibility & contrast

On white

12.98
#3D1E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3D1E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E70
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E70#FFFFFF#000000##FFFFFF
##3D1E701.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#2F3244
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1e70;
/* rgb */ color: rgb(61, 30, 112);
/* oklch */ color: oklch(32.9% 0.133 295.4);
Tailwind
colors: {
  custom: {
    50: '#785c9a',
    500: '#3d1e70',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e70;
$custom-light: #785c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e70",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 262.683,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32894,
    "c": 0.13297,
    "h": 295.4
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#3D1E70
secondary
#80A446
accent
#E147A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1E70

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

Preview Lab → · Contrast checker → · Palette generator →

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