#3F2372#3F2372

#3F2372 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.129 H 294.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#3F2372
RGBrgb(63, 35, 114)
HSLhsl(261, 53%, 29%)
HSVhsv(261, 69%, 45%)
CMYKcmyk(44.7%, 69.3%, 0%, 55.3%)
CIE-LABlab(21.85, 32.43, -40.91)
CIE-LCHlch(21.85, 52.20, 308.40°)
OKLaboklab(34.04% 0.0543 -0.1169)
OKLCHoklch(34.04% 0.129 294.9)
XYZxyz(5.6874, 3.4736, 16.2871)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2372 #567223
analogous
#232F72 #3F2372 #672372
triadic
#3F2372 #723F23 #23723F
tetradic
#3F2372 #72232F #567223 #237267
square
#3F2372 #72232F #567223 #237267
split-complementary
#3F2372 #726723 #2F7223
monochromatic
#0D0717 #251543 #3F2372 #5931A1 #7548C7

Accessibility & contrast

On white

12.39
#3F2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3F2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2372
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2372#FFFFFF#000000##FFFFFF
##3F23721.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#313647
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f2372;
/* rgb */ color: rgb(63, 35, 114);
/* oklch */ color: oklch(34.0% 0.129 294.9);
Tailwind
colors: {
  custom: {
    50: '#79609b',
    500: '#3f2372',
    950: '#000000',
  },
}
SCSS
$custom: #3f2372;
$custom-light: #79609b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2372",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 261.266,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.12886,
    "h": 294.9
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#3F2372
secondary
#85A54C
accent
#DC4BA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3F2372

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

Preview Lab → · Contrast checker → · Palette generator →

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