#3D196D#3D196D

#3D196D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.136 H 297.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#3D196D
RGBrgb(61, 25, 109)
HSLhsl(266, 63%, 26%)
HSVhsv(266, 77%, 43%)
CMYKcmyk(44%, 77.1%, 0%, 57.3%)
CIE-LABlab(19.19, 36.07, -42.02)
CIE-LCHlch(19.19, 55.38, 310.64°)
OKLaboklab(31.95% 0.063 -0.1202)
OKLCHoklch(31.95% 0.136 297.7)
XYZxyz(5.0317, 2.7914, 14.7387)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D196D #496D19
analogous
#191F6D #3D196D #67196D
triadic
#3D196D #6D3D19 #196D3D
tetradic
#3D196D #6D191F #496D19 #196D67
square
#3D196D #6D191F #496D19 #196D67
split-complementary
#3D196D #6D6719 #1F6D19
monochromatic
#0E0619 #210E3B #3D196D #59249F #7531D0

Accessibility & contrast

On white

13.48
#3D196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D196D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D196D#FFFFFF#000000##FFFFFF
##3D196D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#312F41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d196d;
/* rgb */ color: rgb(61, 25, 109);
/* oklch */ color: oklch(31.9% 0.136 297.7);
Tailwind
colors: {
  custom: {
    50: '#785998',
    500: '#3d196d',
    950: '#000000',
  },
}
SCSS
$custom: #3d196d;
$custom-light: #785998;
$custom-dark: #000000;
JSON
{
  "hex": "#3d196d",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 265.714,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3195,
    "c": 0.13567,
    "h": 297.7
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#3D196D
secondary
#78A23F
accent
#E642A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D196D

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

Preview Lab → · Contrast checker → · Palette generator →

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