#3D195D#3D195D

#3D195D is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.116 H 304.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#3D195D
RGBrgb(61, 25, 93)
HSLhsl(272, 58%, 23%)
HSVhsv(272, 73%, 36%)
CMYKcmyk(34.4%, 73.1%, 0%, 63.5%)
CIE-LABlab(17.82, 31.67, -33.72)
CIE-LCHlch(17.82, 46.26, 313.20°)
OKLaboklab(30.55% 0.0661 -0.0958)
OKLCHoklch(30.55% 0.116 304.6)
XYZxyz(4.2474, 2.4777, 10.6083)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D195D #395D19
analogous
#1B195D #3D195D #5D195B
triadic
#3D195D #5D3D19 #195D3D
tetradic
#3D195D #5D1B19 #395D19 #195B5D
square
#3D195D #5D1B19 #395D19 #195B5D
split-complementary
#3D195D #5B5D19 #195D1B
monochromatic
#100618 #1D0C2D #3D195D #5D268D #7C33BD

Accessibility & contrast

On white

14.04
#3D195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D195D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D195D#FFFFFF#000000##FFFFFF
##3D195D1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#022C5C
Tritanopia (blue-blind)
#372838
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d195d;
/* rgb */ color: rgb(61, 25, 93);
/* oklch */ color: oklch(30.5% 0.116 304.6);
Tailwind
colors: {
  custom: {
    50: '#76598b',
    500: '#3d195d',
    950: '#000000',
  },
}
SCSS
$custom: #3d195d;
$custom-light: #76598b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d195d",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 271.765,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30547,
    "c": 0.11639,
    "h": 304.6
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#3D195D
secondary
#66933F
accent
#E1478F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D195D

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

Preview Lab → · Contrast checker → · Palette generator →

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