#3F206F#3F206F

#3F206F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.129 H 296.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#3F206F
RGBrgb(63, 32, 111)
HSLhsl(264, 55%, 28%)
HSVhsv(264, 71%, 44%)
CMYKcmyk(43.2%, 71.2%, 0%, 56.5%)
CIE-LABlab(20.97, 33.27, -40.40)
CIE-LCHlch(20.97, 52.34, 309.47°)
OKLaboklab(33.33% 0.0582 -0.1154)
OKLCHoklch(33.33% 0.129 296.8)
XYZxyz(5.4349, 3.2374, 15.3744)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F206F #506F20
analogous
#20286F #3F206F #66206F
triadic
#3F206F #6F3F20 #206F3F
tetradic
#3F206F #6F2028 #506F20 #206F66
square
#3F206F #6F2028 #506F20 #206F66
split-complementary
#3F206F #6F6620 #286F20
monochromatic
#0D0718 #24123F #3F206F #5A2E9F #7641C8

Accessibility & contrast

On white

12.75
#3F206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3F206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F206F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F206F#FFFFFF#000000##FFFFFF
##3F206F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#333344
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3f206f;
/* rgb */ color: rgb(63, 32, 111);
/* oklch */ color: oklch(33.3% 0.129 296.8);
Tailwind
colors: {
  custom: {
    50: '#795e99',
    500: '#3f206f',
    950: '#000000',
  },
}
SCSS
$custom: #3f206f;
$custom-light: #795e99;
$custom-dark: #000000;
JSON
{
  "hex": "#3f206f",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 263.544,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.1292,
    "h": 296.8
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#3F206F
secondary
#7FA348
accent
#DF49A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3F206F

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

Preview Lab → · Contrast checker → · Palette generator →

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