#3F205F#3F205F

#3F205F is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.109 H 303.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#3F205F
RGBrgb(63, 32, 95)
HSLhsl(270, 50%, 25%)
HSVhsv(270, 66%, 37%)
CMYKcmyk(33.7%, 66.3%, 0%, 62.7%)
CIE-LABlab(19.70, 28.73, -31.99)
CIE-LCHlch(19.70, 43.00, 311.92°)
OKLaboklab(32.02% 0.0599 -0.0906)
OKLCHoklch(32.02% 0.109 303.5)
XYZxyz(4.6315, 2.9160, 11.1431)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F205F #405F20
analogous
#20215F #3F205F #5F205F
triadic
#3F205F #5F3F20 #205F3F
tetradic
#3F205F #5F2021 #405F20 #205F5F
square
#3F205F #5F2021 #405F20 #205F5F
split-complementary
#3F205F #5F5F20 #215F20
monochromatic
#0F0817 #211131 #3F205F #5D2F8D #7C3FBB

Accessibility & contrast

On white

13.26
#3F205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3F205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F205F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F205F#FFFFFF#000000##FFFFFF
##3F205F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#0F305E
Tritanopia (blue-blind)
#392D3C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f205f;
/* rgb */ color: rgb(63, 32, 95);
/* oklch */ color: oklch(32.0% 0.109 303.5);
Tailwind
colors: {
  custom: {
    50: '#775d8d',
    500: '#3f205f',
    950: '#000000',
  },
}
SCSS
$custom: #3f205f;
$custom-light: #775d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f205f",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 269.524,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32017,
    "c": 0.10866,
    "h": 303.5
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#3F205F
secondary
#6E9347
accent
#D94F95
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F205F

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

Preview Lab → · Contrast checker → · Palette generator →

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