#3E195D#3E195D

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

Color values

HEX#3E195D
RGBrgb(62, 25, 93)
HSLhsl(273, 58%, 23%)
HSVhsv(273, 73%, 36%)
CMYKcmyk(33.3%, 73.1%, 0%, 63.5%)
CIE-LABlab(17.96, 31.90, -33.48)
CIE-LCHlch(17.96, 46.25, 313.62°)
OKLaboklab(30.68% 0.0677 -0.095)
OKLCHoklch(30.68% 0.117 305.5)
XYZxyz(4.3096, 2.5097, 10.6112)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E195D #385D19
analogous
#1C195D #3E195D #5D195A
triadic
#3E195D #5D3E19 #195D3E
tetradic
#3E195D #5D1C19 #385D19 #195A5D
square
#3E195D #5D1C19 #385D19 #195A5D
split-complementary
#3E195D #5A5D19 #195D1C
monochromatic
#100618 #1E0C2D #3E195D #5E268D #7E33BD

Accessibility & contrast

On white

13.98
#3E195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E195D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E195D#FFFFFF#000000##FFFFFF
##3E195D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e195d;
/* rgb */ color: rgb(62, 25, 93);
/* oklch */ color: oklch(30.7% 0.117 305.5);
Tailwind
colors: {
  custom: {
    50: '#76598b',
    500: '#3e195d',
    950: '#000000',
  },
}
SCSS
$custom: #3e195d;
$custom-light: #76598b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e195d",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 272.647,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.11666,
    "h": 305.5
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#3E195D
secondary
#65933F
accent
#E1478D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E195D

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

Preview Lab → · Contrast checker → · Palette generator →

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