#3F205C#3F205C

#3F205C is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.105 H 305.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#3F205C
RGBrgb(63, 32, 92)
HSLhsl(271, 48%, 24%)
HSVhsv(271, 65%, 36%)
CMYKcmyk(31.5%, 65.2%, 0%, 63.9%)
CIE-LABlab(19.48, 27.90, -30.36)
CIE-LCHlch(19.48, 41.23, 312.59°)
OKLaboklab(31.79% 0.06 -0.0858)
OKLCHoklch(31.79% 0.105 305)
XYZxyz(4.4978, 2.8625, 10.4387)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F205C #3D5C20
analogous
#21205C #3F205C #5C205B
triadic
#3F205C #5C3F20 #205C3F
tetradic
#3F205C #5C2120 #3D5C20 #205B5C
square
#3F205C #5C2120 #3D5C20 #205B5C
split-complementary
#3F205C #5B5C20 #205C21
monochromatic
#100817 #20102F #3F205C #5E3089 #7D40B7

Accessibility & contrast

On white

13.36
#3F205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3F205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F205C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F205C#FFFFFF#000000##FFFFFF
##3F205C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#132F5B
Tritanopia (blue-blind)
#3A2C3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f205c;
/* rgb */ color: rgb(63, 32, 92);
/* oklch */ color: oklch(31.8% 0.105 305.0);
Tailwind
colors: {
  custom: {
    50: '#775d8a',
    500: '#3f205c',
    950: '#000000',
  },
}
SCSS
$custom: #3f205c;
$custom-light: #775d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f205c",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 271,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31787,
    "c": 0.10475,
    "h": 305
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#3F205C
secondary
#6B9047
accent
#D85092
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F205C

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

Preview Lab → · Contrast checker → · Palette generator →

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