#3E053F#3E053F

#3E053F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.111 H 327.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#3E053F
RGBrgb(62, 5, 63)
HSLhsl(299, 85%, 13%)
HSVhsv(299, 92%, 25%)
CMYKcmyk(1.6%, 92.1%, 0%, 75.3%)
CIE-LABlab(12.56, 33.83, -21.59)
CIE-LCHlch(12.56, 40.13, 327.46°)
OKLaboklab(26.11% 0.0939 -0.06)
OKLCHoklch(26.11% 0.111 327.4)
XYZxyz(2.9380, 1.4918, 4.8349)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E053F #063F05
analogous
#21053F #3E053F #3F0523
triadic
#3E053F #3F3E05 #053F3E
tetradic
#3E053F #3F2105 #063F05 #05233F
square
#3E053F #3F2105 #063F05 #05233F
split-complementary
#3E053F #233F05 #053F21
monochromatic
#1C021C #1C021C #3E053F #760978 #AE0EB0

Accessibility & contrast

On white

16.17
#3E053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3E053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E053F
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E053F#FFFFFF#000000##FFFFFF
##3E053F1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#400F22
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e053f;
/* rgb */ color: rgb(62, 5, 63);
/* oklch */ color: oklch(26.1% 0.111 327.4);
Tailwind
colors: {
  custom: {
    50: '#764e74',
    500: '#3e053f',
    950: '#000000',
  },
}
SCSS
$custom: #3e053f;
$custom-light: #764e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3e053f",
  "rgb": {
    "r": 62,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 298.966,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26107,
    "c": 0.11143,
    "h": 327.4
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#3E053F
secondary
#228020
accent
#FC2C30
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E053F

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

Preview Lab → · Contrast checker → · Palette generator →

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