#3D135B#3D135B

#3D135B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.122 H 306.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3D135B
RGBrgb(61, 19, 91)
HSLhsl(275, 65%, 22%)
HSVhsv(275, 79%, 36%)
CMYKcmyk(33%, 79.1%, 0%, 64.3%)
CIE-LABlab(16.57, 34.19, -34.41)
CIE-LCHlch(16.57, 48.51, 314.82°)
OKLaboklab(29.61% 0.0734 -0.0978)
OKLCHoklch(29.61% 0.122 306.9)
XYZxyz(4.0453, 2.2132, 10.1096)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D135B #315B13
analogous
#19135B #3D135B #5B1355
triadic
#3D135B #5B3D13 #135B3D
tetradic
#3D135B #5B1913 #315B13 #13555B
square
#3D135B #5B1913 #315B13 #13555B
split-complementary
#3D135B #555B13 #135B19
monochromatic
#110519 #1B0828 #3D135B #5F1E8E #8128C0

Accessibility & contrast

On white

14.56
#3D135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D135B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D135B#FFFFFF#000000##FFFFFF
##3D135B1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#382436
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d135b;
/* rgb */ color: rgb(61, 19, 91);
/* oklch */ color: oklch(29.6% 0.122 306.9);
Tailwind
colors: {
  custom: {
    50: '#76558a',
    500: '#3d135b',
    950: '#000000',
  },
}
SCSS
$custom: #3d135b;
$custom-light: #76558a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d135b",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 275,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29606,
    "c": 0.12225,
    "h": 306.9
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#3D135B
secondary
#5D9337
accent
#E83F86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D135B

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

Preview Lab → · Contrast checker → · Palette generator →

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