#3E175D#3E175D

#3E175D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.4% C 0.119 H 305.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#3E175D
RGBrgb(62, 23, 93)
HSLhsl(273, 60%, 23%)
HSVhsv(273, 75%, 36%)
CMYKcmyk(33.3%, 75.3%, 0%, 63.5%)
CIE-LABlab(17.59, 32.95, -34.09)
CIE-LCHlch(17.59, 47.41, 314.03°)
OKLaboklab(30.41% 0.0701 -0.0968)
OKLCHoklch(30.41% 0.12 305.9)
XYZxyz(4.2684, 2.4273, 10.5975)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E175D #365D17
analogous
#1B175D #3E175D #5D1759
triadic
#3E175D #5D3E17 #175D3E
tetradic
#3E175D #5D1B17 #365D17 #17595D
square
#3E175D #5D1B17 #365D17 #17595D
split-complementary
#3E175D #595D17 #175D1B
monochromatic
#100619 #1D0B2C #3E175D #5F238E #7F2FBF

Accessibility & contrast

On white

14.14
#3E175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E175D
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E175D#FFFFFF#000000##FFFFFF
##3E175D1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#392738
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e175d;
/* rgb */ color: rgb(62, 23, 93);
/* oklch */ color: oklch(30.4% 0.119 305.9);
Tailwind
colors: {
  custom: {
    50: '#77588b',
    500: '#3e175d',
    950: '#000000',
  },
}
SCSS
$custom: #3e175d;
$custom-light: #77588b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e175d",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 273.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30413,
    "c": 0.1195,
    "h": 305.9
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#3E175D
secondary
#63943C
accent
#E3448B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E175D

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

Preview Lab → · Contrast checker → · Palette generator →

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