#3E0F56#3E0F56

#3E0F56 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.122 H 311.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3E0F56
RGBrgb(62, 15, 86)
HSLhsl(280, 70%, 20%)
HSVhsv(280, 83%, 34%)
CMYKcmyk(27.9%, 82.6%, 0%, 66.3%)
CIE-LABlab(15.68, 34.95, -32.47)
CIE-LCHlch(15.68, 47.71, 317.10°)
OKLaboklab(28.88% 0.0802 -0.092)
OKLCHoklch(28.88% 0.122 311.1)
XYZxyz(3.8368, 2.0378, 8.9935)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F56 #27560F
analogous
#1A0F56 #3E0F56 #560F4B
triadic
#3E0F56 #563E0F #0F563E
tetradic
#3E0F56 #561A0F #27560F #0F4B56
square
#3E0F56 #561A0F #27560F #0F4B56
split-complementary
#3E0F56 #4B560F #0F561A
monochromatic
#13051A #180622 #3E0F56 #64188A #8921BE

Accessibility & contrast

On white

14.92
#3E0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F56
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F56#FFFFFF#000000##FFFFFF
##3E0F561.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#022855
Tritanopia (blue-blind)
#3B2032
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e0f56;
/* rgb */ color: rgb(62, 15, 86);
/* oklch */ color: oklch(28.9% 0.122 311.1);
Tailwind
colors: {
  custom: {
    50: '#775386',
    500: '#3e0f56',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f56;
$custom-light: #775386;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f56",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 279.718,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28884,
    "c": 0.12204,
    "h": 311.1
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#3E0F56
secondary
#519031
accent
#ED3B77
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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