#3D135A#3D135A

#3D135A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.121 H 307.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#3D135A
RGBrgb(61, 19, 90)
HSLhsl(275, 65%, 21%)
HSVhsv(275, 79%, 35%)
CMYKcmyk(32.2%, 78.9%, 0%, 64.7%)
CIE-LABlab(16.48, 33.93, -33.88)
CIE-LCHlch(16.48, 47.95, 315.05°)
OKLaboklab(29.52% 0.0736 -0.0962)
OKLCHoklch(29.52% 0.121 307.4)
XYZxyz(4.0024, 2.1961, 9.8839)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D135A #305A13
analogous
#1A135A #3D135A #5A1354
triadic
#3D135A #5A3D13 #135A3D
tetradic
#3D135A #5A1A13 #305A13 #13545A
square
#3D135A #5A1A13 #305A13 #13545A
split-complementary
#3D135A #545A13 #135A1A
monochromatic
#110519 #1B0827 #3D135A #5F1E8D #8228BF

Accessibility & contrast

On white

14.59
#3D135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D135A
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D135A#FFFFFF#000000##FFFFFF
##3D135A1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#382435
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d135a;
/* rgb */ color: rgb(61, 19, 90);
/* oklch */ color: oklch(29.5% 0.121 307.4);
Tailwind
colors: {
  custom: {
    50: '#765589',
    500: '#3d135a',
    950: '#000000',
  },
}
SCSS
$custom: #3d135a;
$custom-light: #765589;
$custom-dark: #000000;
JSON
{
  "hex": "#3d135a",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 275.493,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2952,
    "c": 0.12112,
    "h": 307.4
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#3D135A
secondary
#5C9237
accent
#E84084
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D135A

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

Preview Lab → · Contrast checker → · Palette generator →

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