#3F205A#3F205A

#3F205A is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.102 H 306.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#3F205A
RGBrgb(63, 32, 90)
HSLhsl(272, 48%, 24%)
HSVhsv(272, 64%, 35%)
CMYKcmyk(30%, 64.4%, 0%, 64.7%)
CIE-LABlab(19.34, 27.35, -29.25)
CIE-LCHlch(19.34, 40.05, 313.08°)
OKLaboklab(31.64% 0.0601 -0.0826)
OKLCHoklch(31.64% 0.102 306)
XYZxyz(4.4115, 2.8280, 9.9843)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F205A #3B5A20
analogous
#22205A #3F205A #5A2058
triadic
#3F205A #5A3F20 #205A3F
tetradic
#3F205A #5A2220 #3B5A20 #20585A
square
#3F205A #5A2220 #3B5A20 #20585A
split-complementary
#3F205A #585A20 #205A22
monochromatic
#100817 #1F102D #3F205A #5F3087 #7E40B4

Accessibility & contrast

On white

13.41
#3F205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F205A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F205A#FFFFFF#000000##FFFFFF
##3F205A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062E5C
Deuteranopia (green-blind)
#152F59
Tritanopia (blue-blind)
#3B2B39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f205a;
/* rgb */ color: rgb(63, 32, 90);
/* oklch */ color: oklch(31.6% 0.102 306.0);
Tailwind
colors: {
  custom: {
    50: '#765d89',
    500: '#3f205a',
    950: '#000000',
  },
}
SCSS
$custom: #3f205a;
$custom-light: #765d89;
$custom-dark: #000000;
JSON
{
  "hex": "#3f205a",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 272.069,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31637,
    "c": 0.10215,
    "h": 306
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#3F205A
secondary
#688E47
accent
#D7518F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #3F205A

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

Preview Lab → · Contrast checker → · Palette generator →

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