#3F2073#3F2073

#3F2073 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.134 H 295.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#3F2073
RGBrgb(63, 32, 115)
HSLhsl(262, 56%, 29%)
HSVhsv(262, 72%, 45%)
CMYKcmyk(45.2%, 72.2%, 0%, 54.9%)
CIE-LABlab(21.31, 34.43, -42.43)
CIE-LCHlch(21.31, 54.64, 309.06°)
OKLaboklab(33.68% 0.0575 -0.1213)
OKLCHoklch(33.68% 0.134 295.3)
XYZxyz(5.6601, 3.3275, 16.5604)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2073 #547320
analogous
#202A73 #3F2073 #692073
triadic
#3F2073 #733F20 #20733F
tetradic
#3F2073 #73202A #547320 #207369
square
#3F2073 #73202A #547320 #207369
split-complementary
#3F2073 #736920 #2A7320
monochromatic
#0D0718 #251343 #3F2073 #592DA3 #7643CB

Accessibility & contrast

On white

12.61
#3F2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3F2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2073
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2073#FFFFFF#000000##FFFFFF
##3F20731.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#313447
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f2073;
/* rgb */ color: rgb(63, 32, 115);
/* oklch */ color: oklch(33.7% 0.134 295.3);
Tailwind
colors: {
  custom: {
    50: '#795e9c',
    500: '#3f2073',
    950: '#000000',
  },
}
SCSS
$custom: #3f2073;
$custom-light: #795e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2073",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 262.41,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.13426,
    "h": 295.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#3F2073
secondary
#83A748
accent
#E048A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3F2073

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

Preview Lab → · Contrast checker → · Palette generator →

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