#3E0F6A#3E0F6A

#3E0F6A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.143 H 301.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3E0F6A
RGBrgb(62, 15, 106)
HSLhsl(271, 75%, 24%)
HSVhsv(271, 86%, 42%)
CMYKcmyk(41.5%, 85.8%, 0%, 58.4%)
CIE-LABlab(17.49, 39.93, -42.83)
CIE-LCHlch(17.49, 58.56, 312.99°)
OKLaboklab(30.71% 0.0745 -0.1224)
OKLCHoklch(30.71% 0.143 301.3)
XYZxyz(4.7583, 2.4064, 13.8467)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F6A #3B6A0F
analogous
#100F6A #3E0F6A #6A0F68
triadic
#3E0F6A #6A3E0F #0F6A3E
tetradic
#3E0F6A #6A100F #3B6A0F #0F686A
square
#3E0F6A #6A100F #3B6A0F #0F686A
split-complementary
#3E0F6A #686A0F #0F6A10
monochromatic
#10041B #1F0734 #3E0F6A #5D17A0 #7D1ED5

Accessibility & contrast

On white

14.18
#3E0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F6A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F6A#FFFFFF#000000##FFFFFF
##3E0F6A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#34293D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e0f6a;
/* rgb */ color: rgb(62, 15, 106);
/* oklch */ color: oklch(30.7% 0.143 301.3);
Tailwind
colors: {
  custom: {
    50: '#795595',
    500: '#3e0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f6a;
$custom-light: #795595;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f6a",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 270.989,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.14331,
    "h": 301.3
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#3E0F6A
secondary
#69A232
accent
#F23691
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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