#3E195F#3E195F

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

Color values

HEX#3E195F
RGBrgb(62, 25, 95)
HSLhsl(272, 58%, 24%)
HSVhsv(272, 74%, 37%)
CMYKcmyk(34.7%, 73.7%, 0%, 62.7%)
CIE-LABlab(18.12, 32.44, -34.55)
CIE-LCHlch(18.12, 47.39, 313.19°)
OKLaboklab(30.85% 0.0674 -0.0982)
OKLCHoklch(30.85% 0.119 304.5)
XYZxyz(4.3993, 2.5456, 11.0838)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E195F #3A5F19
analogous
#1B195F #3E195F #5F195D
triadic
#3E195F #5F3E19 #195F3E
tetradic
#3E195F #5F1B19 #3A5F19 #195D5F
square
#3E195F #5F1B19 #3A5F19 #195D5F
split-complementary
#3E195F #5D5F19 #195F1B
monochromatic
#100618 #1E0C2F #3E195F #5E268F #7D32C0

Accessibility & contrast

On white

13.91
#3E195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E195F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E195F#FFFFFF#000000##FFFFFF
##3E195F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e195f;
/* rgb */ color: rgb(62, 25, 95);
/* oklch */ color: oklch(30.8% 0.119 304.5);
Tailwind
colors: {
  custom: {
    50: '#77598d',
    500: '#3e195f',
    950: '#000000',
  },
}
SCSS
$custom: #3e195f;
$custom-light: #77598d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e195f",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 271.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.11906,
    "h": 304.5
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#3E195F
secondary
#67953F
accent
#E2468F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E195F

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

Preview Lab → · Contrast checker → · Palette generator →

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