#3F2F73#3F2F73

#3F2F73 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.112 H 290.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3F2F73
RGBrgb(63, 47, 115)
HSLhsl(254, 42%, 32%)
HSVhsv(254, 59%, 45%)
CMYKcmyk(45.2%, 59.1%, 0%, 54.9%)
CIE-LABlab(24.73, 25.30, -36.90)
CIE-LCHlch(24.73, 44.74, 304.44°)
OKLaboklab(36.16% 0.0393 -0.1051)
OKLCHoklch(36.16% 0.112 290.5)
XYZxyz(6.1601, 4.3274, 16.7270)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F73 #63732F
analogous
#2F4173 #3F2F73 #612F73
triadic
#3F2F73 #733F2F #2F733F
tetradic
#3F2F73 #732F41 #63732F #2F7361
square
#3F2F73 #732F41 #63732F #2F7361
split-complementary
#3F2F73 #73612F #41732F
monochromatic
#0F0B1C #271D48 #3F2F73 #57419E #755FBE

Accessibility & contrast

On white

11.26
#3F2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F73
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F73#FFFFFF#000000##FFFFFF
##3F2F731.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C75
Deuteranopia (green-blind)
#0C3972
Tritanopia (blue-blind)
#303E4C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2f73;
/* rgb */ color: rgb(63, 47, 115);
/* oklch */ color: oklch(36.2% 0.112 290.5);
Tailwind
colors: {
  custom: {
    50: '#78689c',
    500: '#3f2f73',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f73;
$custom-light: #78689c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f73",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 254.118,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.11219,
    "h": 290.5
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#3F2F73
secondary
#93A45A
accent
#D256B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3F2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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