#3E1263#3E1263

#3E1263 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.133 H 303.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#3E1263
RGBrgb(62, 18, 99)
HSLhsl(273, 69%, 23%)
HSVhsv(273, 82%, 39%)
CMYKcmyk(37.4%, 81.8%, 0%, 61.2%)
CIE-LABlab(17.26, 36.90, -38.60)
CIE-LCHlch(17.26, 53.40, 313.71°)
OKLaboklab(30.35% 0.0741 -0.11)
OKLCHoklch(30.35% 0.133 303.9)
XYZxyz(4.4545, 2.3576, 12.0223)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1263 #376312
analogous
#161263 #3E1263 #63125F
triadic
#3E1263 #633E12 #12633E
tetradic
#3E1263 #631612 #376312 #125F63
square
#3E1263 #631612 #376312 #125F63
split-complementary
#3E1263 #5F6312 #126316
monochromatic
#10051A #1E092F #3E1263 #5E1B97 #7F25CB

Accessibility & contrast

On white

14.27
#3E1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1263
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1263#FFFFFF#000000##FFFFFF
##3E12631.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.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: #3e1263;
/* rgb */ color: rgb(62, 18, 99);
/* oklch */ color: oklch(30.3% 0.133 303.9);
Tailwind
colors: {
  custom: {
    50: '#785590',
    500: '#3e1263',
    950: '#000000',
  },
}
SCSS
$custom: #3e1263;
$custom-light: #785590;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1263",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 272.593,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30345,
    "c": 0.13263,
    "h": 303.9
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#3E1263
secondary
#649B36
accent
#EC3C8C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3E1263

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

Preview Lab → · Contrast checker → · Palette generator →

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