#3E106A#3E106A

#3E106A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.142 H 301.2°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#3E106A
RGBrgb(62, 16, 106)
HSLhsl(271, 74%, 24%)
HSVhsv(271, 85%, 42%)
CMYKcmyk(41.5%, 84.9%, 0%, 58.4%)
CIE-LABlab(17.62, 39.54, -42.62)
CIE-LCHlch(17.62, 58.13, 312.85°)
OKLaboklab(30.8% 0.0737 -0.1218)
OKLCHoklch(30.8% 0.142 301.2)
XYZxyz(4.7728, 2.4353, 13.8515)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E106A #3C6A10
analogous
#11106A #3E106A #6A1069
triadic
#3E106A #6A3E10 #106A3E
tetradic
#3E106A #6A1110 #3C6A10 #10696A
square
#3E106A #6A1110 #3C6A10 #10696A
split-complementary
#3E106A #696A10 #106A11
monochromatic
#10041B #1F0835 #3E106A #5D189F #7C20D4

Accessibility & contrast

On white

14.12
#3E106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E106A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E106A#FFFFFF#000000##FFFFFF
##3E106A1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#34293E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e106a;
/* rgb */ color: rgb(62, 16, 106);
/* oklch */ color: oklch(30.8% 0.142 301.2);
Tailwind
colors: {
  custom: {
    50: '#795595',
    500: '#3e106a',
    950: '#000000',
  },
}
SCSS
$custom: #3e106a;
$custom-light: #795595;
$custom-dark: #000000;
JSON
{
  "hex": "#3e106a",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 270.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.14235,
    "h": 301.2
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#3E106A
secondary
#6AA234
accent
#F03792
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E106A

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

Preview Lab → · Contrast checker → · Palette generator →

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