#3F0E5A#3F0E5A

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

Color values

HEX#3F0E5A
RGBrgb(63, 14, 90)
HSLhsl(279, 73%, 20%)
HSVhsv(279, 84%, 35%)
CMYKcmyk(30%, 84.4%, 0%, 64.7%)
CIE-LABlab(16.05, 36.52, -34.57)
CIE-LCHlch(16.05, 50.29, 316.58°)
OKLaboklab(29.28% 0.0817 -0.0981)
OKLCHoklch(29.28% 0.128 309.8)
XYZxyz(4.0520, 2.1091, 9.8645)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E5A #295A0E
analogous
#190E5A #3F0E5A #5A0E4F
triadic
#3F0E5A #5A3F0E #0E5A3F
tetradic
#3F0E5A #5A190E #295A0E #0E4F5A
square
#3F0E5A #5A190E #295A0E #0E4F5A
split-complementary
#3F0E5A #4F5A0E #0E5A19
monochromatic
#13041A #1A0625 #3F0E5A #64168F #891EC4

Accessibility & contrast

On white

14.77
#3F0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E5A
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E5A#FFFFFF#000000##FFFFFF
##3F0E5A1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#3B2134
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0e5a;
/* rgb */ color: rgb(63, 14, 90);
/* oklch */ color: oklch(29.3% 0.128 309.8);
Tailwind
colors: {
  custom: {
    50: '#785389',
    500: '#3f0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e5a;
$custom-light: #785389;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e5a",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 278.684,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29281,
    "c": 0.12769,
    "h": 309.8
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#3F0E5A
secondary
#539430
accent
#F03879
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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