#3E146F#3E146F

#3E146F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.144 H 298.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#3E146F
RGBrgb(62, 20, 111)
HSLhsl(268, 69%, 26%)
HSVhsv(268, 82%, 44%)
CMYKcmyk(44.1%, 82%, 0%, 56.5%)
CIE-LABlab(18.68, 39.17, -44.15)
CIE-LCHlch(18.68, 59.02, 311.58°)
OKLaboklab(31.68% 0.0687 -0.1263)
OKLCHoklch(31.68% 0.144 298.5)
XYZxyz(5.1053, 2.6721, 15.2826)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E146F #456F14
analogous
#14186F #3E146F #6B146F
triadic
#3E146F #6F3E14 #146F3E
tetradic
#3E146F #6F1418 #456F14 #146F6B
square
#3E146F #6F1418 #456F14 #146F6B
split-complementary
#3E146F #6F6B14 #186F14
monochromatic
#0E051A #210B3B #3E146F #5B1DA3 #7827D7

Accessibility & contrast

On white

13.69
#3E146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E146F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E146F#FFFFFF#000000##FFFFFF
##3E146F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e146f;
/* rgb */ color: rgb(62, 20, 111);
/* oklch */ color: oklch(31.7% 0.144 298.5);
Tailwind
colors: {
  custom: {
    50: '#795799',
    500: '#3e146f',
    950: '#000000',
  },
}
SCSS
$custom: #3e146f;
$custom-light: #795799;
$custom-dark: #000000;
JSON
{
  "hex": "#3e146f",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 267.692,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3168,
    "c": 0.14381,
    "h": 298.5
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#3E146F
secondary
#74A639
accent
#EC3C9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E146F

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

Preview Lab → · Contrast checker → · Palette generator →

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