#3D1658#3D1658

#3D1658 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.115 H 307.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#3D1658
RGBrgb(61, 22, 88)
HSLhsl(275, 60%, 22%)
HSVhsv(275, 75%, 35%)
CMYKcmyk(30.7%, 75%, 0%, 65.5%)
CIE-LABlab(16.85, 31.93, -31.95)
CIE-LCHlch(16.85, 45.17, 314.99°)
OKLaboklab(29.73% 0.0705 -0.0905)
OKLCHoklch(29.73% 0.115 307.9)
XYZxyz(3.9725, 2.2706, 9.4596)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1658 #315816
analogous
#1C1658 #3D1658 #581652
triadic
#3D1658 #583D16 #16583D
tetradic
#3D1658 #581C16 #315816 #165258
square
#3D1658 #581C16 #315816 #165258
split-complementary
#3D1658 #525816 #16581C
monochromatic
#110618 #1B0A27 #3D1658 #5F2289 #812EBA

Accessibility & contrast

On white

14.44
#3D1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1658
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1658#FFFFFF#000000##FFFFFF
##3D16581.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#062A57
Tritanopia (blue-blind)
#392535
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1658;
/* rgb */ color: rgb(61, 22, 88);
/* oklch */ color: oklch(29.7% 0.115 307.9);
Tailwind
colors: {
  custom: {
    50: '#765788',
    500: '#3d1658',
    950: '#000000',
  },
}
SCSS
$custom: #3d1658;
$custom-light: #765788;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1658",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 275.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.11475,
    "h": 307.9
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#3D1658
secondary
#5D8F3B
accent
#E34585
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D1658

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

Preview Lab → · Contrast checker → · Palette generator →

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