#3E145E#3E145E

#3E145E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.125 H 306.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3E145E
RGBrgb(62, 20, 94)
HSLhsl(274, 65%, 22%)
HSVhsv(274, 79%, 37%)
CMYKcmyk(34%, 78.7%, 0%, 63.1%)
CIE-LABlab(17.14, 34.70, -35.47)
CIE-LCHlch(17.14, 49.62, 314.37°)
OKLaboklab(30.13% 0.0733 -0.1008)
OKLCHoklch(30.13% 0.125 306)
XYZxyz(4.2567, 2.3326, 10.8135)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E145E #345E14
analogous
#19145E #3E145E #5E1459
triadic
#3E145E #5E3E14 #145E3E
tetradic
#3E145E #5E1914 #345E14 #14595E
square
#3E145E #5E1914 #345E14 #14595E
split-complementary
#3E145E #595E14 #145E19
monochromatic
#110519 #1D092C #3E145E #5F1F90 #8129C3

Accessibility & contrast

On white

14.32
#3E145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E145E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E145E#FFFFFF#000000##FFFFFF
##3E145E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#382638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e145e;
/* rgb */ color: rgb(62, 20, 94);
/* oklch */ color: oklch(30.1% 0.125 306.0);
Tailwind
colors: {
  custom: {
    50: '#77568c',
    500: '#3e145e',
    950: '#000000',
  },
}
SCSS
$custom: #3e145e;
$custom-light: #77568c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e145e",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 274.054,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30126,
    "c": 0.12464,
    "h": 306
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#3E145E
secondary
#619638
accent
#E84089
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E145E

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

Preview Lab → · Contrast checker → · Palette generator →

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