#3D135F#3D135F

#3D135F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.127 H 304.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3D135F
RGBrgb(61, 19, 95)
HSLhsl(273, 67%, 22%)
HSVhsv(273, 80%, 37%)
CMYKcmyk(35.8%, 80%, 0%, 62.7%)
CIE-LABlab(16.91, 35.22, -36.52)
CIE-LCHlch(16.91, 50.74, 313.96°)
OKLaboklab(29.96% 0.0725 -0.104)
OKLCHoklch(29.96% 0.127 304.9)
XYZxyz(4.2224, 2.2841, 11.0427)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D135F #355F13
analogous
#17135F #3D135F #5F135B
triadic
#3D135F #5F3D13 #135F3D
tetradic
#3D135F #5F1713 #355F13 #135B5F
square
#3D135F #5F1713 #355F13 #135B5F
split-complementary
#3D135F #5B5F13 #135F17
monochromatic
#10051A #1C092C #3D135F #5E1D92 #7E27C5

Accessibility & contrast

On white

14.42
#3D135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D135F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D135F#FFFFFF#000000##FFFFFF
##3D135F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#372638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d135f;
/* rgb */ color: rgb(61, 19, 95);
/* oklch */ color: oklch(30.0% 0.127 304.9);
Tailwind
colors: {
  custom: {
    50: '#76568d',
    500: '#3d135f',
    950: '#000000',
  },
}
SCSS
$custom: #3d135f;
$custom-light: #76568d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d135f",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 273.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29957,
    "c": 0.12676,
    "h": 304.9
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#3D135F
secondary
#629737
accent
#EA3E8B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D135F

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

Preview Lab → · Contrast checker → · Palette generator →

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