#3E063F#3E063F

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

Color values

HEX#3E063F
RGBrgb(62, 6, 63)
HSLhsl(299, 83%, 14%)
HSVhsv(299, 90%, 25%)
CMYKcmyk(1.6%, 90.5%, 0%, 75.3%)
CIE-LABlab(12.69, 33.43, -21.37)
CIE-LCHlch(12.69, 39.68, 327.42°)
OKLaboklab(26.2% 0.0928 -0.0594)
OKLCHoklch(26.2% 0.11 327.4)
XYZxyz(2.9489, 1.5135, 4.8385)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E063F #073F06
analogous
#21063F #3E063F #3F0623
triadic
#3E063F #3F3E06 #063F3E
tetradic
#3E063F #3F2106 #073F06 #06233F
square
#3E063F #3F2106 #073F06 #06233F
split-complementary
#3E063F #233F06 #063F21
monochromatic
#1B031C #1B031C #3E063F #750B77 #AC11AF

Accessibility & contrast

On white

16.12
#3E063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E063F
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E063F#FFFFFF#000000##FFFFFF
##3E063F1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#16233E
Tritanopia (blue-blind)
#401023
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e063f;
/* rgb */ color: rgb(62, 6, 63);
/* oklch */ color: oklch(26.2% 0.110 327.4);
Tailwind
colors: {
  custom: {
    50: '#764e74',
    500: '#3e063f',
    950: '#000000',
  },
}
SCSS
$custom: #3e063f;
$custom-light: #764e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3e063f",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 298.947,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26204,
    "c": 0.11014,
    "h": 327.4
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#3E063F
secondary
#247F22
accent
#F92F32
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E063F

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

Preview Lab → · Contrast checker → · Palette generator →

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