#3E175B#3E175B

#3E175B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.117 H 306.9°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#3E175B
RGBrgb(62, 23, 91)
HSLhsl(274, 60%, 22%)
HSVhsv(274, 75%, 36%)
CMYKcmyk(31.9%, 74.7%, 0%, 64.3%)
CIE-LABlab(17.42, 32.43, -33.02)
CIE-LCHlch(17.42, 46.28, 314.49°)
OKLaboklab(30.25% 0.0704 -0.0936)
OKLCHoklch(30.25% 0.117 306.9)
XYZxyz(4.1809, 2.3923, 10.1370)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E175B #345B17
analogous
#1C175B #3E175B #5B1756
triadic
#3E175B #5B3E17 #175B3E
tetradic
#3E175B #5B1C17 #345B17 #17565B
square
#3E175B #5B1C17 #345B17 #17565B
split-complementary
#3E175B #565B17 #175B1C
monochromatic
#110618 #1D0B2A #3E175B #5F238C #8130BD

Accessibility & contrast

On white

14.20
#3E175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E175B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E175B#FFFFFF#000000##FFFFFF
##3E175B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#392637
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e175b;
/* rgb */ color: rgb(62, 23, 91);
/* oklch */ color: oklch(30.2% 0.117 306.9);
Tailwind
colors: {
  custom: {
    50: '#76588a',
    500: '#3e175b',
    950: '#000000',
  },
}
SCSS
$custom: #3e175b;
$custom-light: #76588a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e175b",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 274.412,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30247,
    "c": 0.11715,
    "h": 306.9
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#3E175B
secondary
#61923C
accent
#E34588
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E175B

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

Preview Lab → · Contrast checker → · Palette generator →

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