#3E1363#3E1363

#3E1363 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.131 H 303.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#3E1363
RGBrgb(62, 19, 99)
HSLhsl(272, 68%, 23%)
HSVhsv(272, 81%, 39%)
CMYKcmyk(37.4%, 80.8%, 0%, 61.2%)
CIE-LABlab(17.42, 36.46, -38.35)
CIE-LCHlch(17.42, 52.91, 313.55°)
OKLaboklab(30.45% 0.0731 -0.1093)
OKLCHoklch(30.45% 0.131 303.8)
XYZxyz(4.4711, 2.3907, 12.0279)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1363 #386313
analogous
#161363 #3E1363 #631360
triadic
#3E1363 #633E13 #13633E
tetradic
#3E1363 #631613 #386313 #136063
square
#3E1363 #631613 #386313 #136063
split-complementary
#3E1363 #606313 #136316
monochromatic
#10051A #1E0930 #3E1363 #5E1D96 #7E27CA

Accessibility & contrast

On white

14.21
#3E1363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E1363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1363
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1363#FFFFFF#000000##FFFFFF
##3E13631.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#37273A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1363;
/* rgb */ color: rgb(62, 19, 99);
/* oklch */ color: oklch(30.5% 0.131 303.8);
Tailwind
colors: {
  custom: {
    50: '#785690',
    500: '#3e1363',
    950: '#000000',
  },
}
SCSS
$custom: #3e1363;
$custom-light: #785690;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1363",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 272.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.13148,
    "h": 303.8
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#3E1363
secondary
#659B37
accent
#EB3D8D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3E1363

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

Preview Lab → · Contrast checker → · Palette generator →

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