#3D196E#3D196E

#3D196E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.137 H 297.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3D196E
RGBrgb(61, 25, 110)
HSLhsl(265, 63%, 26%)
HSVhsv(265, 77%, 43%)
CMYKcmyk(44.5%, 77.3%, 0%, 56.9%)
CIE-LABlab(19.28, 36.35, -42.52)
CIE-LCHlch(19.28, 55.94, 310.52°)
OKLaboklab(32.04% 0.0627 -0.1216)
OKLCHoklch(32.04% 0.137 297.3)
XYZxyz(5.0858, 2.8131, 15.0238)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D196E #4A6E19
analogous
#19206E #3D196E #68196E
triadic
#3D196E #6E3D19 #196E3D
tetradic
#3D196E #6E1920 #4A6E19 #196E68
square
#3D196E #6E1920 #4A6E19 #196E68
split-complementary
#3D196E #6E6819 #206E19
monochromatic
#0E0619 #210E3C #3D196E #5924A0 #7531D0

Accessibility & contrast

On white

13.44
#3D196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D196E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D196E#FFFFFF#000000##FFFFFF
##3D196E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#302F42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d196e;
/* rgb */ color: rgb(61, 25, 110);
/* oklch */ color: oklch(32.0% 0.137 297.3);
Tailwind
colors: {
  custom: {
    50: '#785a98',
    500: '#3d196e',
    950: '#000000',
  },
}
SCSS
$custom: #3d196e;
$custom-light: #785a98;
$custom-dark: #000000;
JSON
{
  "hex": "#3d196e",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 265.412,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32042,
    "c": 0.13686,
    "h": 297.3
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#3D196E
secondary
#79A33F
accent
#E642A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D196E

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

Preview Lab → · Contrast checker → · Palette generator →

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