#3E195B#3E195B

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

Color values

HEX#3E195B
RGBrgb(62, 25, 91)
HSLhsl(274, 57%, 23%)
HSVhsv(274, 73%, 36%)
CMYKcmyk(31.9%, 72.5%, 0%, 64.3%)
CIE-LABlab(17.80, 31.37, -32.40)
CIE-LCHlch(17.80, 45.10, 314.07°)
OKLaboklab(30.52% 0.0679 -0.0919)
OKLCHoklch(30.52% 0.114 306.5)
XYZxyz(4.2222, 2.4748, 10.1508)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E195B #365B19
analogous
#1D195B #3E195B #5B1957
triadic
#3E195B #5B3E19 #195B3E
tetradic
#3E195B #5B1D19 #365B19 #19575B
square
#3E195B #5B1D19 #365B19 #19575B
split-complementary
#3E195B #575B19 #195B1D
monochromatic
#100718 #1D0C2B #3E195B #5F268B #7F33BB

Accessibility & contrast

On white

14.05
#3E195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E195B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E195B#FFFFFF#000000##FFFFFF
##3E195B1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#072C5A
Tritanopia (blue-blind)
#392737
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e195b;
/* rgb */ color: rgb(62, 25, 91);
/* oklch */ color: oklch(30.5% 0.114 306.5);
Tailwind
colors: {
  custom: {
    50: '#76598a',
    500: '#3e195b',
    950: '#000000',
  },
}
SCSS
$custom: #3e195b;
$custom-light: #76598a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e195b",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 273.636,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30518,
    "c": 0.11425,
    "h": 306.5
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#3E195B
secondary
#63913F
accent
#E0488B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E195B

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

Preview Lab → · Contrast checker → · Palette generator →

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