#3E0F4D#3E0F4D

#3E0F4D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.113 H 316.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#3E0F4D
RGBrgb(62, 15, 77)
HSLhsl(285, 67%, 18%)
HSVhsv(285, 81%, 30%)
CMYKcmyk(19.5%, 80.5%, 0%, 69.8%)
CIE-LABlab(14.96, 32.84, -27.50)
CIE-LCHlch(14.96, 42.83, 320.05°)
OKLaboklab(28.14% 0.0818 -0.0774)
OKLCHoklch(28.14% 0.113 316.6)
XYZxyz(3.4968, 1.9017, 7.2026)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F4D #1E4D0F
analogous
#1F0F4D #3E0F4D #4D0F3D
triadic
#3E0F4D #4D3E0F #0F4D3E
tetradic
#3E0F4D #4D1F0F #1E4D0F #0F3D4D
square
#3E0F4D #4D1F0F #1E4D0F #0F3D4D
split-complementary
#3E0F4D #3D4D0F #0F4D1F
monochromatic
#15051A #15051A #3E0F4D #671980 #9023B3

Accessibility & contrast

On white

15.21
#3E0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F4D
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F4D#FFFFFF#000000##FFFFFF
##3E0F4D1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#3D1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0f4d;
/* rgb */ color: rgb(62, 15, 77);
/* oklch */ color: oklch(28.1% 0.113 316.6);
Tailwind
colors: {
  custom: {
    50: '#76537f',
    500: '#3e0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f4d;
$custom-light: #76537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f4d",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 285.484,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28145,
    "c": 0.11258,
    "h": 316.6
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#3E0F4D
secondary
#468731
accent
#EA3E67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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