#3D165C#3D165C

#3D165C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.1% C 0.119 H 305.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#3D165C
RGBrgb(61, 22, 92)
HSLhsl(273, 61%, 22%)
HSVhsv(273, 76%, 36%)
CMYKcmyk(33.7%, 76.1%, 0%, 63.9%)
CIE-LABlab(17.17, 32.98, -34.10)
CIE-LCHlch(17.17, 47.44, 314.04°)
OKLaboklab(30.06% 0.0699 -0.0969)
OKLCHoklch(30.06% 0.119 305.8)
XYZxyz(4.1427, 2.3387, 10.3563)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D165C #355C16
analogous
#1A165C #3D165C #5C1658
triadic
#3D165C #5C3D16 #165C3D
tetradic
#3D165C #5C1A16 #355C16 #16585C
square
#3D165C #5C1A16 #355C16 #16585C
split-complementary
#3D165C #585C16 #165C1A
monochromatic
#100619 #1C0A2B #3D165C #5E228D #7E2EBF

Accessibility & contrast

On white

14.31
#3D165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D165C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D165C#FFFFFF#000000##FFFFFF
##3D165C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d165c;
/* rgb */ color: rgb(61, 22, 92);
/* oklch */ color: oklch(30.1% 0.119 305.8);
Tailwind
colors: {
  custom: {
    50: '#76578b',
    500: '#3d165c',
    950: '#000000',
  },
}
SCSS
$custom: #3d165c;
$custom-light: #76578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d165c",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 273.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30061,
    "c": 0.11943,
    "h": 305.8
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#3D165C
secondary
#62933B
accent
#E5438B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D165C

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

Preview Lab → · Contrast checker → · Palette generator →

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