#3D137F#3D137F

#3D137F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.162 H 292.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#3D137F
RGBrgb(61, 19, 127)
HSLhsl(263, 74%, 29%)
HSVhsv(263, 85%, 50%)
CMYKcmyk(52%, 85%, 0%, 50.2%)
CIE-LABlab(20.00, 43.76, -52.25)
CIE-LCHlch(20.00, 68.15, 309.94°)
OKLaboklab(33.06% 0.0623 -0.1501)
OKLCHoklch(33.06% 0.162 292.5)
XYZxyz(5.9870, 2.9899, 20.3362)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D137F #557F13
analogous
#131F7F #3D137F #73137F
triadic
#3D137F #7F3D13 #137F3D
tetradic
#3D137F #7F131F #557F13 #137F73
square
#3D137F #7F131F #557F13 #137F73
split-complementary
#3D137F #7F7313 #1F7F13
monochromatic
#0D041B #230B4A #3D137F #571BB4 #722DE0

Accessibility & contrast

On white

13.14
#3D137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3D137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D137F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D137F#FFFFFF#000000##FFFFFF
##3D137F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#27344A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d137f;
/* rgb */ color: rgb(61, 19, 127);
/* oklch */ color: oklch(33.1% 0.162 292.5);
Tailwind
colors: {
  custom: {
    50: '#7b58a5',
    500: '#3d137f',
    950: '#000000',
  },
}
SCSS
$custom: #3d137f;
$custom-light: #7b58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d137f",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 263.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.16249,
    "h": 292.5
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#3D137F
secondary
#85B439
accent
#F137A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D137F

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

Preview Lab → · Contrast checker → · Palette generator →

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