#3E0F5F#3E0F5F

#3E0F5F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.132 H 306.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#3E0F5F
RGBrgb(62, 15, 95)
HSLhsl(275, 73%, 22%)
HSVhsv(275, 84%, 37%)
CMYKcmyk(34.7%, 84.2%, 0%, 62.7%)
CIE-LABlab(16.46, 37.15, -37.25)
CIE-LCHlch(16.46, 52.61, 314.93°)
OKLaboklab(29.68% 0.0779 -0.106)
OKLCHoklch(29.68% 0.132 306.3)
XYZxyz(4.2225, 2.1920, 11.0249)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F5F #305F0F
analogous
#160F5F #3E0F5F #5F0F58
triadic
#3E0F5F #5F3E0F #0F5F3E
tetradic
#3E0F5F #5F160F #305F0F #0F585F
square
#3E0F5F #5F160F #305F0F #0F585F
split-complementary
#3E0F5F #585F0F #0F5F16
monochromatic
#11041A #1C072A #3E0F5F #601794 #8320C9

Accessibility & contrast

On white

14.60
#3E0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F5F
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F5F#FFFFFF#000000##FFFFFF
##3E0F5F1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#382437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e0f5f;
/* rgb */ color: rgb(62, 15, 95);
/* oklch */ color: oklch(29.7% 0.132 306.3);
Tailwind
colors: {
  custom: {
    50: '#77548d',
    500: '#3e0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f5f;
$custom-light: #77548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f5f",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 275.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29675,
    "c": 0.13159,
    "h": 306.3
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#3E0F5F
secondary
#5C9832
accent
#EF3884
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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