#3E146E#3E146E

#3E146E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.143 H 298.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#3E146E
RGBrgb(62, 20, 110)
HSLhsl(268, 69%, 25%)
HSVhsv(268, 82%, 43%)
CMYKcmyk(43.6%, 81.8%, 0%, 56.9%)
CIE-LABlab(18.58, 38.90, -43.65)
CIE-LCHlch(18.58, 58.47, 311.71°)
OKLaboklab(31.59% 0.069 -0.1249)
OKLCHoklch(31.59% 0.143 298.9)
XYZxyz(5.0505, 2.6502, 14.9943)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E146E #446E14
analogous
#14176E #3E146E #6B146E
triadic
#3E146E #6E3E14 #146E3E
tetradic
#3E146E #6E1417 #446E14 #146E6B
square
#3E146E #6E1417 #446E14 #146E6B
split-complementary
#3E146E #6E6B14 #176E14
monochromatic
#0F051A #210B3A #3E146E #5B1DA2 #7827D6

Accessibility & contrast

On white

13.73
#3E146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E146E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E146E#FFFFFF#000000##FFFFFF
##3E146E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#322D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e146e;
/* rgb */ color: rgb(62, 20, 110);
/* oklch */ color: oklch(31.6% 0.143 298.9);
Tailwind
colors: {
  custom: {
    50: '#795798',
    500: '#3e146e',
    950: '#000000',
  },
}
SCSS
$custom: #3e146e;
$custom-light: #795798;
$custom-dark: #000000;
JSON
{
  "hex": "#3e146e",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 268,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31585,
    "c": 0.14268,
    "h": 298.9
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#3E146E
secondary
#72A539
accent
#EC3C9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E146E

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

Preview Lab → · Contrast checker → · Palette generator →

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