#3F206C#3F206C

#3F206C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.125 H 297.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3F206C
RGBrgb(63, 32, 108)
HSLhsl(264, 54%, 27%)
HSVhsv(264, 70%, 42%)
CMYKcmyk(41.7%, 70.4%, 0%, 57.6%)
CIE-LABlab(20.72, 32.41, -38.86)
CIE-LCHlch(20.72, 50.60, 309.82°)
OKLaboklab(33.07% 0.0586 -0.1108)
OKLCHoklch(33.07% 0.125 297.9)
XYZxyz(5.2725, 3.1724, 14.5190)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F206C #4D6C20
analogous
#20276C #3F206C #65206C
triadic
#3F206C #6C3F20 #206C3F
tetradic
#3F206C #6C2027 #4D6C20 #206C65
square
#3F206C #6C2027 #4D6C20 #206C65
split-complementary
#3F206C #6C6520 #276C20
monochromatic
#0E0718 #23123D #3F206C #5B2E9B #7740C6

Accessibility & contrast

On white

12.85
#3F206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3F206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F206C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F206C#FFFFFF#000000##FFFFFF
##3F206C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#343243
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3f206c;
/* rgb */ color: rgb(63, 32, 108);
/* oklch */ color: oklch(33.1% 0.125 297.9);
Tailwind
colors: {
  custom: {
    50: '#785e97',
    500: '#3f206c',
    950: '#000000',
  },
}
SCSS
$custom: #3f206c;
$custom-light: #785e97;
$custom-dark: #000000;
JSON
{
  "hex": "#3f206c",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 264.474,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.1254,
    "h": 297.9
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#3F206C
secondary
#7CA048
accent
#DE4AA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F206C

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

Preview Lab → · Contrast checker → · Palette generator →

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