#3D155C#3D155C

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

Color values

HEX#3D155C
RGBrgb(61, 21, 92)
HSLhsl(274, 63%, 22%)
HSVhsv(274, 77%, 36%)
CMYKcmyk(33.7%, 77.2%, 0%, 63.9%)
CIE-LABlab(16.99, 33.48, -34.39)
CIE-LCHlch(16.99, 47.99, 314.23°)
OKLaboklab(29.93% 0.071 -0.0977)
OKLCHoklch(29.93% 0.121 306)
XYZxyz(4.1240, 2.3012, 10.3501)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D155C #345C15
analogous
#1A155C #3D155C #5C1558
triadic
#3D155C #5C3D15 #155C3D
tetradic
#3D155C #5C1A15 #345C15 #15585C
square
#3D155C #5C1A15 #345C15 #15585C
split-complementary
#3D155C #585C15 #155C1A
monochromatic
#110619 #1C0A2A #3D155C #5E208E #7F2CC0

Accessibility & contrast

On white

14.38
#3D155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D155C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D155C#FFFFFF#000000##FFFFFF
##3D155C1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#382637
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d155c;
/* rgb */ color: rgb(61, 21, 92);
/* oklch */ color: oklch(29.9% 0.121 306.0);
Tailwind
colors: {
  custom: {
    50: '#76568b',
    500: '#3d155c',
    950: '#000000',
  },
}
SCSS
$custom: #3d155c;
$custom-light: #76568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d155c",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 273.803,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29934,
    "c": 0.12078,
    "h": 306
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#3D155C
secondary
#619339
accent
#E6428A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D155C

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

Preview Lab → · Contrast checker → · Palette generator →

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