#3E0F4E#3E0F4E

#3E0F4E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.114 H 315.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#3E0F4E
RGBrgb(62, 15, 78)
HSLhsl(285, 68%, 18%)
HSVhsv(285, 81%, 31%)
CMYKcmyk(20.5%, 80.8%, 0%, 69.4%)
CIE-LABlab(15.04, 33.06, -28.06)
CIE-LCHlch(15.04, 43.37, 319.68°)
OKLaboklab(28.22% 0.0816 -0.079)
OKLCHoklch(28.22% 0.114 315.9)
XYZxyz(3.5324, 1.9160, 7.3900)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F4E #1F4E0F
analogous
#1E0F4E #3E0F4E #4E0F3E
triadic
#3E0F4E #4E3E0F #0F4E3E
tetradic
#3E0F4E #4E1E0F #1F4E0F #0F3E4E
square
#3E0F4E #4E1E0F #1F4E0F #0F3E4E
split-complementary
#3E0F4E #3E4E0F #0F4E1E
monochromatic
#14051A #15051B #3E0F4E #671981 #9023B5

Accessibility & contrast

On white

15.18
#3E0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E0F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F4E
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F4E#FFFFFF#000000##FFFFFF
##3E0F4E1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0E274D
Tritanopia (blue-blind)
#3D1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0f4e;
/* rgb */ color: rgb(62, 15, 78);
/* oklch */ color: oklch(28.2% 0.114 315.9);
Tailwind
colors: {
  custom: {
    50: '#765380',
    500: '#3e0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f4e;
$custom-light: #765380;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f4e",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 284.762,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28224,
    "c": 0.11363,
    "h": 315.9
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#3E0F4E
secondary
#478831
accent
#EB3D69
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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