#3D135C#3D135C

#3D135C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.123 H 306.4°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#3D135C
RGBrgb(61, 19, 92)
HSLhsl(275, 66%, 22%)
HSVhsv(275, 79%, 36%)
CMYKcmyk(33.7%, 79.3%, 0%, 63.9%)
CIE-LABlab(16.65, 34.45, -34.94)
CIE-LCHlch(16.65, 49.07, 314.59°)
OKLaboklab(29.69% 0.0732 -0.0993)
OKLCHoklch(29.69% 0.123 306.4)
XYZxyz(4.0887, 2.2306, 10.3383)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D135C #325C13
analogous
#19135C #3D135C #5C1357
triadic
#3D135C #5C3D13 #135C3D
tetradic
#3D135C #5C1913 #325C13 #13575C
square
#3D135C #5C1913 #325C13 #13575C
split-complementary
#3D135C #575C13 #135C19
monochromatic
#110519 #1B0929 #3D135C #5F1D8F #8028C1

Accessibility & contrast

On white

14.52
#3D135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D135C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D135C#FFFFFF#000000##FFFFFF
##3D135C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d135c;
/* rgb */ color: rgb(61, 19, 92);
/* oklch */ color: oklch(29.7% 0.123 306.4);
Tailwind
colors: {
  custom: {
    50: '#76558b',
    500: '#3d135c',
    950: '#000000',
  },
}
SCSS
$custom: #3d135c;
$custom-light: #76558b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d135c",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 274.521,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29693,
    "c": 0.12337,
    "h": 306.4
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#3D135C
secondary
#5E9437
accent
#E93F87
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D135C

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

Preview Lab → · Contrast checker → · Palette generator →

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