#3D1370#3D1370

#3D1370 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.146 H 297.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#3D1370
RGBrgb(61, 19, 112)
HSLhsl(267, 71%, 26%)
HSVhsv(267, 83%, 44%)
CMYKcmyk(45.5%, 83%, 0%, 56.1%)
CIE-LABlab(18.49, 39.71, -45.12)
CIE-LCHlch(18.49, 60.10, 311.35°)
OKLaboklab(31.55% 0.0676 -0.1292)
OKLCHoklch(31.55% 0.146 297.6)
XYZxyz(5.0812, 2.6276, 15.5656)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1370 #467013
analogous
#131770 #3D1370 #6B1370
triadic
#3D1370 #703D13 #13703D
tetradic
#3D1370 #701317 #467013 #13706B
square
#3D1370 #701317 #467013 #13706B
split-complementary
#3D1370 #706B13 #177013
monochromatic
#0E041A #210A3C #3D1370 #591CA4 #7625D9

Accessibility & contrast

On white

13.77
#3D1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1370
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1370#FFFFFF#000000##FFFFFF
##3D13701.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#302D42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1370;
/* rgb */ color: rgb(61, 19, 112);
/* oklch */ color: oklch(31.5% 0.146 297.6);
Tailwind
colors: {
  custom: {
    50: '#79579a',
    500: '#3d1370',
    950: '#000000',
  },
}
SCSS
$custom: #3d1370;
$custom-light: #79579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1370",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 267.097,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31545,
    "c": 0.14583,
    "h": 297.6
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#3D1370
secondary
#75A738
accent
#EE3A9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3D1370

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

Preview Lab → · Contrast checker → · Palette generator →

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