#3E0F4F#3E0F4F

#3E0F4F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.115 H 315.3°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#3E0F4F
RGBrgb(62, 15, 79)
HSLhsl(284, 68%, 18%)
HSVhsv(284, 81%, 31%)
CMYKcmyk(21.5%, 81%, 0%, 69%)
CIE-LABlab(15.12, 33.30, -28.62)
CIE-LCHlch(15.12, 43.91, 319.31°)
OKLaboklab(28.3% 0.0815 -0.0807)
OKLCHoklch(28.3% 0.115 315.3)
XYZxyz(3.5685, 1.9304, 7.5803)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F4F #204F0F
analogous
#1E0F4F #3E0F4F #4F0F40
triadic
#3E0F4F #4F3E0F #0F4F3E
tetradic
#3E0F4F #4F1E0F #204F0F #0F404F
square
#3E0F4F #4F1E0F #204F0F #0F404F
split-complementary
#3E0F4F #404F0F #0F4F1E
monochromatic
#14051A #16051C #3E0F4F #661982 #8F23B6

Accessibility & contrast

On white

15.15
#3E0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F4F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F4F#FFFFFF#000000##FFFFFF
##3E0F4F1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#3D1D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0f4f;
/* rgb */ color: rgb(62, 15, 79);
/* oklch */ color: oklch(28.3% 0.115 315.3);
Tailwind
colors: {
  custom: {
    50: '#765381',
    500: '#3e0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f4f;
$custom-light: #765381;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f4f",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 284.063,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28304,
    "c": 0.11467,
    "h": 315.3
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#3E0F4F
secondary
#488931
accent
#EB3D6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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