#3E0F4B#3E0F4B

#3E0F4B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.111 H 317.9°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#3E0F4B
RGBrgb(62, 15, 75)
HSLhsl(287, 67%, 18%)
HSVhsv(287, 80%, 29%)
CMYKcmyk(17.3%, 80%, 0%, 70.6%)
CIE-LABlab(14.81, 32.38, -26.37)
CIE-LCHlch(14.81, 41.76, 320.84°)
OKLaboklab(27.99% 0.082 -0.0741)
OKLCHoklch(27.99% 0.111 317.9)
XYZxyz(3.4273, 1.8739, 6.8364)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F4B #1C4B0F
analogous
#200F4B #3E0F4B #4B0F3A
triadic
#3E0F4B #4B3E0F #0F4B3E
tetradic
#3E0F4B #4B200F #1C4B0F #0F3A4B
square
#3E0F4B #4B200F #1C4B0F #0F3A4B
split-complementary
#3E0F4B #3A4B0F #0F4B20
monochromatic
#15051A #15051A #3E0F4B #68197E #9223B1

Accessibility & contrast

On white

15.27
#3E0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E0F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F4B
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F4B#FFFFFF#000000##FFFFFF
##3E0F4B1.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#11274A
Tritanopia (blue-blind)
#3E1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e0f4b;
/* rgb */ color: rgb(62, 15, 75);
/* oklch */ color: oklch(28.0% 0.111 317.9);
Tailwind
colors: {
  custom: {
    50: '#76537e',
    500: '#3e0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f4b;
$custom-light: #76537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f4b",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 287,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.1105,
    "h": 317.9
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#3E0F4B
secondary
#438530
accent
#EA3E63
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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