#3F207A#3F207A

#3F207A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.143 H 293.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#3F207A
RGBrgb(63, 32, 122)
HSLhsl(261, 58%, 30%)
HSVhsv(261, 74%, 48%)
CMYKcmyk(48.4%, 73.8%, 0%, 52.2%)
CIE-LABlab(21.93, 36.48, -45.91)
CIE-LCHlch(21.93, 58.64, 308.47°)
OKLaboklab(34.31% 0.0561 -0.1315)
OKLCHoklch(34.31% 0.143 293.1)
XYZxyz(6.0783, 3.4947, 18.7629)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F207A #5B7A20
analogous
#202E7A #3F207A #6C207A
triadic
#3F207A #7A3F20 #207A3F
tetradic
#3F207A #7A202E #5B7A20 #207A6C
square
#3F207A #7A202E #5B7A20 #207A6C
split-complementary
#3F207A #7A6C20 #2E7A20
monochromatic
#0D0719 #26134A #3F207A #582DAA #7546CE

Accessibility & contrast

On white

12.36
#3F207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3F207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F207A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F207A#FFFFFF#000000##FFFFFF
##3F207A1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#2D374A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f207a;
/* rgb */ color: rgb(63, 32, 122);
/* oklch */ color: oklch(34.3% 0.143 293.1);
Tailwind
colors: {
  custom: {
    50: '#7a5ea1',
    500: '#3f207a',
    950: '#000000',
  },
}
SCSS
$custom: #3f207a;
$custom-light: #7a5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f207a",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 260.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34309,
    "c": 0.14301,
    "h": 293.1
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#3F207A
secondary
#8BAD49
accent
#E246AC
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F207A

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

Preview Lab → · Contrast checker → · Palette generator →

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