#3D135E#3D135E

#3D135E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.126 H 305.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#3D135E
RGBrgb(61, 19, 94)
HSLhsl(274, 66%, 22%)
HSVhsv(274, 80%, 37%)
CMYKcmyk(35.1%, 79.8%, 0%, 63.1%)
CIE-LABlab(16.83, 34.96, -36.00)
CIE-LCHlch(16.83, 50.18, 314.16°)
OKLaboklab(29.87% 0.0727 -0.1024)
OKLCHoklch(29.87% 0.126 305.4)
XYZxyz(4.1773, 2.2660, 10.8048)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D135E #345E13
analogous
#17135E #3D135E #5E135A
triadic
#3D135E #5E3D13 #135E3D
tetradic
#3D135E #5E1713 #345E13 #135A5E
square
#3D135E #5E1713 #345E13 #135A5E
split-complementary
#3D135E #5A5E13 #135E17
monochromatic
#110519 #1C092B #3D135E #5E1D91 #7F28C4

Accessibility & contrast

On white

14.45
#3D135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3D135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D135E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D135E#FFFFFF#000000##FFFFFF
##3D135E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#372537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d135e;
/* rgb */ color: rgb(61, 19, 94);
/* oklch */ color: oklch(29.9% 0.126 305.4);
Tailwind
colors: {
  custom: {
    50: '#76568c',
    500: '#3d135e',
    950: '#000000',
  },
}
SCSS
$custom: #3d135e;
$custom-light: #76568c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d135e",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 273.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29868,
    "c": 0.12562,
    "h": 305.4
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#3D135E
secondary
#619637
accent
#E93F8A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D135E

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

Preview Lab → · Contrast checker → · Palette generator →

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