#3F209F#3F209F

#3F209F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.187 H 284.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3F209F
RGBrgb(63, 32, 159)
HSLhsl(255, 66%, 37%)
HSVhsv(255, 80%, 62%)
CMYKcmyk(60.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(25.54, 47.33, -63.01)
CIE-LCHlch(25.54, 78.81, 306.91°)
OKLaboklab(37.95% 0.046 -0.1816)
OKLCHoklch(37.95% 0.187 284.2)
XYZxyz(8.8225, 4.5924, 33.2157)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F209F #809F20
analogous
#20409F #3F209F #7F209F
triadic
#3F209F #9F3F20 #209F3F
tetradic
#3F209F #9F2040 #809F20 #209F7F
square
#3F209F #9F2040 #809F20 #209F7F
split-complementary
#3F209F #9F7F20 #409F20
monochromatic
#170B39 #2B166C #3F209F #532AD2 #7B5BDE

Accessibility & contrast

On white

10.95
#3F209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3F209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F209F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F209F#FFFFFF#000000##FFFFFF
##3F209F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f209f;
/* rgb */ color: rgb(63, 32, 159);
/* oklch */ color: oklch(37.9% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#8060bd',
    500: '#3f209f',
    950: '#000000',
  },
}
SCSS
$custom: #3f209f;
$custom-light: #8060bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f209f",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 254.646,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.18737,
    "h": 284.2
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#3F209F
secondary
#A8C259
accent
#E93EC0
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F209F

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

Preview Lab → · Contrast checker → · Palette generator →

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