#3D195E#3D195E

#3D195E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.118 H 304.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#3D195E
RGBrgb(61, 25, 94)
HSLhsl(271, 58%, 23%)
HSVhsv(271, 73%, 37%)
CMYKcmyk(35.1%, 73.4%, 0%, 63.1%)
CIE-LABlab(17.90, 31.94, -34.26)
CIE-LCHlch(17.90, 46.84, 312.99°)
OKLaboklab(30.63% 0.066 -0.0974)
OKLCHoklch(30.63% 0.118 304.1)
XYZxyz(4.2920, 2.4955, 10.8431)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D195E #3A5E19
analogous
#1A195E #3D195E #5E195C
triadic
#3D195E #5E3D19 #195E3D
tetradic
#3D195E #5E1A19 #3A5E19 #195C5E
square
#3D195E #5E1A19 #3A5E19 #195C5E
split-complementary
#3D195E #5C5E19 #195E1A
monochromatic
#100618 #1E0C2E #3D195E #5C268E #7C33BF

Accessibility & contrast

On white

14.01
#3D195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D195E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D195E#FFFFFF#000000##FFFFFF
##3D195E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#372939
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3d195e;
/* rgb */ color: rgb(61, 25, 94);
/* oklch */ color: oklch(30.6% 0.118 304.1);
Tailwind
colors: {
  custom: {
    50: '#76598c',
    500: '#3d195e',
    950: '#000000',
  },
}
SCSS
$custom: #3d195e;
$custom-light: #76598c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d195e",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 271.304,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.1176,
    "h": 304.1
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#3D195E
secondary
#68943F
accent
#E14791
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D195E

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

Preview Lab → · Contrast checker → · Palette generator →

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