#3D195B#3D195B

#3D195B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.4% C 0.114 H 305.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#3D195B
RGBrgb(61, 25, 91)
HSLhsl(273, 57%, 23%)
HSVhsv(273, 73%, 36%)
CMYKcmyk(33%, 72.5%, 0%, 64.3%)
CIE-LABlab(17.66, 31.13, -32.65)
CIE-LCHlch(17.66, 45.11, 313.64°)
OKLaboklab(30.38% 0.0664 -0.0926)
OKLCHoklch(30.38% 0.114 305.6)
XYZxyz(4.1600, 2.4427, 10.1478)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D195B #375B19
analogous
#1C195B #3D195B #5B1958
triadic
#3D195B #5B3D19 #195B3D
tetradic
#3D195B #5B1C19 #375B19 #19585B
square
#3D195B #5B1C19 #375B19 #19585B
split-complementary
#3D195B #585B19 #195B1C
monochromatic
#100718 #1D0C2B #3D195B #5D268B #7D33BB

Accessibility & contrast

On white

14.11
#3D195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3D195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D195B
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D195B#FFFFFF#000000##FFFFFF
##3D195B1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#052B5A
Tritanopia (blue-blind)
#382837
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d195b;
/* rgb */ color: rgb(61, 25, 91);
/* oklch */ color: oklch(30.4% 0.114 305.6);
Tailwind
colors: {
  custom: {
    50: '#76598a',
    500: '#3d195b',
    950: '#000000',
  },
}
SCSS
$custom: #3d195b;
$custom-light: #76598a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d195b",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 272.727,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30382,
    "c": 0.11396,
    "h": 305.6
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#3D195B
secondary
#64913F
accent
#E0488D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D195B

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

Preview Lab → · Contrast checker → · Palette generator →

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