#3D195F#3D195F

#3D195F is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.7% C 0.119 H 303.6°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#3D195F
RGBrgb(61, 25, 95)
HSLhsl(271, 58%, 24%)
HSVhsv(271, 74%, 37%)
CMYKcmyk(35.8%, 73.7%, 0%, 62.7%)
CIE-LABlab(17.98, 32.21, -34.79)
CIE-LCHlch(17.98, 47.41, 312.79°)
OKLaboklab(30.71% 0.0658 -0.0989)
OKLCHoklch(30.71% 0.119 303.6)
XYZxyz(4.3372, 2.5136, 11.0809)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D195F #3B5F19
analogous
#1A195F #3D195F #5F195E
triadic
#3D195F #5F3D19 #195F3D
tetradic
#3D195F #5F1A19 #3B5F19 #195E5F
square
#3D195F #5F1A19 #3B5F19 #195E5F
split-complementary
#3D195F #5E5F19 #195F1A
monochromatic
#100618 #1E0C2F #3D195F #5C268F #7B32C0

Accessibility & contrast

On white

13.97
#3D195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3D195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D195F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D195F#FFFFFF#000000##FFFFFF
##3D195F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#36293A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d195f;
/* rgb */ color: rgb(61, 25, 95);
/* oklch */ color: oklch(30.7% 0.119 303.6);
Tailwind
colors: {
  custom: {
    50: '#76598d',
    500: '#3d195f',
    950: '#000000',
  },
}
SCSS
$custom: #3d195f;
$custom-light: #76598d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d195f",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 270.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.11881,
    "h": 303.6
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#3D195F
secondary
#69953F
accent
#E24692
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D195F

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

Preview Lab → · Contrast checker → · Palette generator →

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