#3E175E#3E175E

#3E175E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.121 H 305.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#3E175E
RGBrgb(62, 23, 94)
HSLhsl(273, 61%, 23%)
HSVhsv(273, 76%, 37%)
CMYKcmyk(34%, 75.5%, 0%, 63.1%)
CIE-LABlab(17.67, 33.22, -34.62)
CIE-LCHlch(17.67, 47.98, 313.81°)
OKLaboklab(30.5% 0.0699 -0.0984)
OKLCHoklch(30.5% 0.121 305.4)
XYZxyz(4.3129, 2.4451, 10.8322)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E175E #375E17
analogous
#1A175E #3E175E #5E175A
triadic
#3E175E #5E3E17 #175E3E
tetradic
#3E175E #5E1A17 #375E17 #175A5E
square
#3E175E #5E1A17 #375E17 #175A5E
split-complementary
#3E175E #5A5E17 #175E1A
monochromatic
#100619 #1E0B2D #3E175E #5E238F #7F2FC0

Accessibility & contrast

On white

14.10
#3E175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E175E
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E175E#FFFFFF#000000##FFFFFF
##3E175E1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#382738
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e175e;
/* rgb */ color: rgb(62, 23, 94);
/* oklch */ color: oklch(30.5% 0.121 305.4);
Tailwind
colors: {
  custom: {
    50: '#77588c',
    500: '#3e175e',
    950: '#000000',
  },
}
SCSS
$custom: #3e175e;
$custom-light: #77588c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e175e",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 272.958,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.12068,
    "h": 305.4
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#3E175E
secondary
#64953C
accent
#E4448C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E175E

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

Preview Lab → · Contrast checker → · Palette generator →

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