#3F0E5B#3F0E5B

#3F0E5B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.129 H 309.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3F0E5B
RGBrgb(63, 14, 91)
HSLhsl(278, 73%, 21%)
HSVhsv(278, 85%, 36%)
CMYKcmyk(30.8%, 84.6%, 0%, 64.3%)
CIE-LABlab(16.14, 36.76, -35.10)
CIE-LCHlch(16.14, 50.83, 316.33°)
OKLaboklab(29.37% 0.0815 -0.0997)
OKLCHoklch(29.37% 0.129 309.3)
XYZxyz(4.0949, 2.1262, 10.0902)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E5B #2A5B0E
analogous
#190E5B #3F0E5B #5B0E50
triadic
#3F0E5B #5B3F0E #0E5B3F
tetradic
#3F0E5B #5B190E #2A5B0E #0E505B
square
#3F0E5B #5B190E #2A5B0E #0E505B
split-complementary
#3F0E5B #505B0E #0E5B19
monochromatic
#12041B #1A0626 #3F0E5B #641690 #881EC5

Accessibility & contrast

On white

14.73
#3F0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F0E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E5B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E5B#FFFFFF#000000##FFFFFF
##3F0E5B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#3B2235
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0e5b;
/* rgb */ color: rgb(63, 14, 91);
/* oklch */ color: oklch(29.4% 0.129 309.3);
Tailwind
colors: {
  custom: {
    50: '#78538a',
    500: '#3f0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e5b;
$custom-light: #78538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e5b",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 278.182,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29369,
    "c": 0.12873,
    "h": 309.3
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#3F0E5B
secondary
#559530
accent
#F0387B
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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