#3F0D5F#3F0D5F

#3F0D5F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.134 H 307.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#3F0D5F
RGBrgb(63, 13, 95)
HSLhsl(277, 76%, 21%)
HSVhsv(277, 86%, 37%)
CMYKcmyk(33.7%, 86.3%, 0%, 62.7%)
CIE-LABlab(16.36, 38.11, -37.41)
CIE-LCHlch(16.36, 53.40, 315.53°)
OKLaboklab(29.64% 0.0812 -0.1064)
OKLCHoklch(29.64% 0.134 307.3)
XYZxyz(4.2589, 2.1709, 11.0189)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D5F #2D5F0D
analogous
#160D5F #3F0D5F #5F0D56
triadic
#3F0D5F #5F3F0D #0D5F3F
tetradic
#3F0D5F #5F160D #2D5F0D #0D565F
square
#3F0D5F #5F160D #2D5F0D #0D565F
split-complementary
#3F0D5F #565F0D #0D5F16
monochromatic
#12041B #1B0629 #3F0D5F #631495 #861CCB

Accessibility & contrast

On white

14.64
#3F0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D5F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D5F#FFFFFF#000000##FFFFFF
##3F0D5F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0d5f;
/* rgb */ color: rgb(63, 13, 95);
/* oklch */ color: oklch(29.6% 0.134 307.3);
Tailwind
colors: {
  custom: {
    50: '#78538d',
    500: '#3f0d5f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d5f;
$custom-light: #78538d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d5f",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 276.585,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.13391,
    "h": 307.3
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#3F0D5F
secondary
#58992F
accent
#F3357F
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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