#3F0D5B#3F0D5B

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

Color values

HEX#3F0D5B
RGBrgb(63, 13, 91)
HSLhsl(278, 75%, 20%)
HSVhsv(278, 86%, 36%)
CMYKcmyk(30.8%, 85.7%, 0%, 64.3%)
CIE-LABlab(16.00, 37.15, -35.31)
CIE-LCHlch(16.00, 51.26, 316.45°)
OKLaboklab(29.28% 0.0824 -0.1003)
OKLCHoklch(29.28% 0.13 309.4)
XYZxyz(4.0818, 2.1000, 10.0858)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D5B #295B0D
analogous
#180D5B #3F0D5B #5B0D50
triadic
#3F0D5B #5B3F0D #0D5B3F
tetradic
#3F0D5B #5B180D #295B0D #0D505B
square
#3F0D5B #5B180D #295B0D #0D505B
split-complementary
#3F0D5B #505B0D #0D5B18
monochromatic
#13041B #1A0525 #3F0D5B #641591 #891CC6

Accessibility & contrast

On white

14.79
#3F0D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D5B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D5B#FFFFFF#000000##FFFFFF
##3F0D5B1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0d5b;
/* rgb */ color: rgb(63, 13, 91);
/* oklch */ color: oklch(29.3% 0.130 309.4);
Tailwind
colors: {
  custom: {
    50: '#78538a',
    500: '#3f0d5b',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d5b;
$custom-light: #78538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d5b",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 91
  },
  "hsl": {
    "h": 278.462,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29276,
    "c": 0.12979,
    "h": 309.4
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#3F0D5B
secondary
#53952F
accent
#F23679
background
#F7F4F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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