#3E1163#3E1163

#3E1163 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.134 H 304.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3E1163
RGBrgb(62, 17, 99)
HSLhsl(273, 71%, 23%)
HSVhsv(273, 83%, 39%)
CMYKcmyk(37.4%, 82.8%, 0%, 61.2%)
CIE-LABlab(17.11, 37.33, -38.84)
CIE-LCHlch(17.11, 53.88, 313.86°)
OKLaboklab(30.24% 0.075 -0.1107)
OKLCHoklch(30.24% 0.134 304.1)
XYZxyz(4.4387, 2.3259, 12.0171)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1163 #366311
analogous
#151163 #3E1163 #63115F
triadic
#3E1163 #633E11 #11633E
tetradic
#3E1163 #631511 #366311 #115F63
square
#3E1163 #631511 #366311 #115F63
split-complementary
#3E1163 #5F6311 #116315
monochromatic
#10041A #1D082F #3E1163 #5F1A97 #7F23CB

Accessibility & contrast

On white

14.33
#3E1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1163
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1163#FFFFFF#000000##FFFFFF
##3E11631.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#37273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1163;
/* rgb */ color: rgb(62, 17, 99);
/* oklch */ color: oklch(30.2% 0.134 304.1);
Tailwind
colors: {
  custom: {
    50: '#785590',
    500: '#3e1163',
    950: '#000000',
  },
}
SCSS
$custom: #3e1163;
$custom-light: #785590;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1163",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 272.927,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3024,
    "c": 0.13374,
    "h": 304.1
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#3E1163
secondary
#639B34
accent
#ED3A8B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3E1163

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

Preview Lab → · Contrast checker → · Palette generator →

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