#3F205B#3F205B

#3F205B is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.103 H 305.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#3F205B
RGBrgb(63, 32, 91)
HSLhsl(272, 48%, 24%)
HSVhsv(272, 65%, 36%)
CMYKcmyk(30.8%, 64.8%, 0%, 64.3%)
CIE-LABlab(19.41, 27.63, -29.81)
CIE-LCHlch(19.41, 40.64, 312.83°)
OKLaboklab(31.71% 0.0601 -0.0842)
OKLCHoklch(31.71% 0.103 305.5)
XYZxyz(4.4543, 2.8451, 10.2100)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F205B #3C5B20
analogous
#22205B #3F205B #5B205A
triadic
#3F205B #5B3F20 #205B3F
tetradic
#3F205B #5B2220 #3C5B20 #205A5B
square
#3F205B #5B2220 #3C5B20 #205A5B
split-complementary
#3F205B #5A5B20 #205B22
monochromatic
#100817 #20102E #3F205B #5E3088 #7E40B6

Accessibility & contrast

On white

13.38
#3F205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F205B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F205B#FFFFFF#000000##FFFFFF
##3F205B1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#142F5A
Tritanopia (blue-blind)
#3A2C3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f205b;
/* rgb */ color: rgb(63, 32, 91);
/* oklch */ color: oklch(31.7% 0.103 305.5);
Tailwind
colors: {
  custom: {
    50: '#765d8a',
    500: '#3f205b',
    950: '#000000',
  },
}
SCSS
$custom: #3f205b;
$custom-light: #765d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f205b",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 271.525,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31712,
    "c": 0.10346,
    "h": 305.5
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#3F205B
secondary
#6A8F47
accent
#D85090
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F205B

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

Preview Lab → · Contrast checker → · Palette generator →

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