#3F205E#3F205E

#3F205E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.107 H 304.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3F205E
RGBrgb(63, 32, 94)
HSLhsl(270, 49%, 25%)
HSVhsv(270, 66%, 37%)
CMYKcmyk(33%, 66%, 0%, 63.1%)
CIE-LABlab(19.63, 28.45, -31.45)
CIE-LCHlch(19.63, 42.41, 312.14°)
OKLaboklab(31.94% 0.06 -0.089)
OKLCHoklch(31.94% 0.107 304)
XYZxyz(4.5863, 2.8980, 10.9052)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F205E #3F5E20
analogous
#20205E #3F205E #5E205E
triadic
#3F205E #5E3F20 #205E3F
tetradic
#3F205E #5E2020 #3F5E20 #205E5E
square
#3F205E #5E2020 #3F5E20 #205E5E
split-complementary
#3F205E #5E5E20 #205E20
monochromatic
#0F0817 #201030 #3F205E #5E308C #7C3FB9

Accessibility & contrast

On white

13.29
#3F205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F205E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F205E#FFFFFF#000000##FFFFFF
##3F205E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#102F5D
Tritanopia (blue-blind)
#392D3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f205e;
/* rgb */ color: rgb(63, 32, 94);
/* oklch */ color: oklch(31.9% 0.107 304.0);
Tailwind
colors: {
  custom: {
    50: '#775d8c',
    500: '#3f205e',
    950: '#000000',
  },
}
SCSS
$custom: #3f205e;
$custom-light: #775d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f205e",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 270,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3194,
    "c": 0.10736,
    "h": 304
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#3F205E
secondary
#6D9247
accent
#D94F94
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F205E

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

Preview Lab → · Contrast checker → · Palette generator →

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