#3E0F5B#3E0F5B

#3E0F5B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.127 H 308.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#3E0F5B
RGBrgb(62, 15, 91)
HSLhsl(277, 72%, 21%)
HSVhsv(277, 84%, 36%)
CMYKcmyk(31.9%, 83.5%, 0%, 64.3%)
CIE-LABlab(16.11, 36.16, -35.15)
CIE-LCHlch(16.11, 50.43, 315.82°)
OKLaboklab(29.32% 0.079 -0.0998)
OKLCHoklch(29.32% 0.127 308.4)
XYZxyz(4.0454, 2.1212, 10.0918)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F5B #2C5B0F
analogous
#180F5B #3E0F5B #5B0F52
triadic
#3E0F5B #5B3E0F #0F5B3E
tetradic
#3E0F5B #5B180F #2C5B0F #0F525B
square
#3E0F5B #5B180F #2C5B0F #0F525B
split-complementary
#3E0F5B #525B0F #0F5B18
monochromatic
#12041A #1A0626 #3E0F5B #621890 #8620C4

Accessibility & contrast

On white

14.75
#3E0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F5B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F5B#FFFFFF#000000##FFFFFF
##3E0F5B1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#392235
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0f5b;
/* rgb */ color: rgb(62, 15, 91);
/* oklch */ color: oklch(29.3% 0.127 308.4);
Tailwind
colors: {
  custom: {
    50: '#77548a',
    500: '#3e0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f5b;
$custom-light: #77548a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f5b",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 277.105,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29317,
    "c": 0.12733,
    "h": 308.4
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#3E0F5B
secondary
#579531
accent
#EE397E
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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