#3D137E#3D137E

#3D137E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.161 H 292.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#3D137E
RGBrgb(61, 19, 126)
HSLhsl(264, 74%, 28%)
HSVhsv(264, 85%, 49%)
CMYKcmyk(51.6%, 84.9%, 0%, 50.6%)
CIE-LABlab(19.90, 43.48, -51.78)
CIE-LCHlch(19.90, 67.62, 310.02°)
OKLaboklab(32.95% 0.0626 -0.1487)
OKLCHoklch(32.95% 0.161 292.8)
XYZxyz(5.9222, 2.9640, 19.9947)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D137E #547E13
analogous
#131F7E #3D137E #72137E
triadic
#3D137E #7E3D13 #137E3D
tetradic
#3D137E #7E131F #547E13 #137E72
square
#3D137E #7E131F #547E13 #137E72
split-complementary
#3D137E #7E7213 #1F7E13
monochromatic
#0D041B #230B49 #3D137E #571BB3 #722CDF

Accessibility & contrast

On white

13.18
#3D137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3D137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D137E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D137E#FFFFFF#000000##FFFFFF
##3D137E1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#28334A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d137e;
/* rgb */ color: rgb(61, 19, 126);
/* oklch */ color: oklch(33.0% 0.161 292.8);
Tailwind
colors: {
  custom: {
    50: '#7b58a4',
    500: '#3d137e',
    950: '#000000',
  },
}
SCSS
$custom: #3d137e;
$custom-light: #7b58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d137e",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 263.551,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.16139,
    "h": 292.8
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#3D137E
secondary
#84B439
accent
#F037A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3D137E

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

Preview Lab → · Contrast checker → · Palette generator →

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