#3D2995#3D2995

#3D2995 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.166 H 283.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3D2995
RGBrgb(61, 41, 149)
HSLhsl(251, 57%, 37%)
HSVhsv(251, 72%, 58%)
CMYKcmyk(59.1%, 72.5%, 0%, 41.6%)
CIE-LABlab(26.00, 39.35, -56.14)
CIE-LCHlch(26.00, 68.56, 305.03°)
OKLaboklab(37.92% 0.0391 -0.1616)
OKLCHoklch(37.92% 0.166 283.6)
XYZxyz(8.1406, 4.7474, 28.9153)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2995 #819529
analogous
#294B95 #3D2995 #732995
triadic
#3D2995 #953D29 #29953D
tetradic
#3D2995 #95294B #819529 #299573
square
#3D2995 #95294B #819529 #299573
split-complementary
#3D2995 #957329 #4B9529
monochromatic
#160F35 #291C65 #3D2995 #5136C5 #7964D4

Accessibility & contrast

On white

10.77
#3D2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3D2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2995
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2995#FFFFFF#000000##FFFFFF
##3D29951.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#0A465C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2995;
/* rgb */ color: rgb(61, 41, 149);
/* oklch */ color: oklch(37.9% 0.166 283.6);
Tailwind
colors: {
  custom: {
    50: '#7d65b5',
    500: '#3d2995',
    950: '#000000',
  },
}
SCSS
$custom: #3d2995;
$custom-light: #7d65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2995",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 251.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.1663,
    "h": 283.6
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#3D2995
secondary
#A9BA60
accent
#E048C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2995

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

Preview Lab → · Contrast checker → · Palette generator →

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