#3E1169#3E1169

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

Color values

HEX#3E1169
RGBrgb(62, 17, 105)
HSLhsl(271, 72%, 24%)
HSVhsv(271, 84%, 41%)
CMYKcmyk(41%, 83.8%, 0%, 58.8%)
CIE-LABlab(17.67, 38.87, -41.89)
CIE-LCHlch(17.67, 57.15, 312.86°)
OKLaboklab(30.8% 0.0732 -0.1197)
OKLCHoklch(30.8% 0.14 301.4)
XYZxyz(4.7362, 2.4449, 13.5843)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1169 #3C6911
analogous
#121169 #3E1169 #691168
triadic
#3E1169 #693E11 #11693E
tetradic
#3E1169 #691211 #3C6911 #116869
square
#3E1169 #691211 #3C6911 #116869
split-complementary
#3E1169 #686911 #116912
monochromatic
#10041A #1F0834 #3E1169 #5D1A9E #7C22D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E1169#FFFFFF#000000##FFFFFF
##3E11691.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)
#002B6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#34293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1169;
/* rgb */ color: rgb(62, 17, 105);
/* oklch */ color: oklch(30.8% 0.140 301.4);
Tailwind
colors: {
  custom: {
    50: '#785595',
    500: '#3e1169',
    950: '#000000',
  },
}
SCSS
$custom: #3e1169;
$custom-light: #785595;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1169",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 105
  },
  "hsl": {
    "h": 270.682,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.308,
    "c": 0.14028,
    "h": 301.4
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#3E1169
secondary
#6AA135
accent
#EF3992
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1169

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

Preview Lab → · Contrast checker → · Palette generator →

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