#3E1463#3E1463

#3E1463 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.130 H 303.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#3E1463
RGBrgb(62, 20, 99)
HSLhsl(272, 66%, 23%)
HSVhsv(272, 80%, 39%)
CMYKcmyk(37.4%, 79.8%, 0%, 61.2%)
CIE-LABlab(17.58, 36.00, -38.09)
CIE-LCHlch(17.58, 52.41, 313.38°)
OKLaboklab(30.57% 0.0721 -0.1085)
OKLCHoklch(30.57% 0.13 303.6)
XYZxyz(4.4884, 2.4253, 12.0336)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1463 #396314
analogous
#161463 #3E1463 #631460
triadic
#3E1463 #633E14 #14633E
tetradic
#3E1463 #631614 #396314 #146063
square
#3E1463 #631614 #396314 #146063
split-complementary
#3E1463 #606314 #146316
monochromatic
#100519 #1E0A30 #3E1463 #5E1E96 #7E29C9

Accessibility & contrast

On white

14.14
#3E1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1463
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1463#FFFFFF#000000##FFFFFF
##3E14631.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1463;
/* rgb */ color: rgb(62, 20, 99);
/* oklch */ color: oklch(30.6% 0.130 303.6);
Tailwind
colors: {
  custom: {
    50: '#775690',
    500: '#3e1463',
    950: '#000000',
  },
}
SCSS
$custom: #3e1463;
$custom-light: #775690;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1463",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 271.899,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30567,
    "c": 0.13029,
    "h": 303.6
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#3E1463
secondary
#669A38
accent
#E93E8E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1463

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

Preview Lab → · Contrast checker → · Palette generator →

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