#3F2F4E#3F2F4E

#3F2F4E is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.7% C 0.057 H 307.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#3F2F4E
RGBrgb(63, 47, 78)
HSLhsl(271, 25%, 25%)
HSVhsv(271, 40%, 31%)
CMYKcmyk(19.2%, 39.7%, 0%, 69.4%)
CIE-LABlab(22.44, 14.39, -16.33)
CIE-LCHlch(22.44, 21.77, 311.37°)
OKLaboklab(33.71% 0.0344 -0.0451)
OKLCHoklch(33.71% 0.057 307.3)
XYZxyz(4.4413, 3.6399, 7.6748)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F4E #3E4E2F
analogous
#302F4E #3F2F4E #4E2F4E
triadic
#3F2F4E #4E3F2F #2F4E3F
tetradic
#3F2F4E #4E302F #3E4E2F #2F4E4E
square
#3F2F4E #4E302F #3E4E2F #2F4E4E
split-complementary
#3F2F4E #4E4E2F #2F4E30
monochromatic
#0F0C13 #201828 #3F2F4E #5E4674 #7D5D9A

Accessibility & contrast

On white

12.15
#3F2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F4E
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F4E#FFFFFF#000000##FFFFFF
##3F2F4E1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#3D343B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2f4e;
/* rgb */ color: rgb(63, 47, 78);
/* oklch */ color: oklch(33.7% 0.057 307.3);
Tailwind
colors: {
  custom: {
    50: '#74677f',
    500: '#3f2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f4e;
$custom-light: #74677f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f4e",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 270.968,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.05672,
    "h": 307.3
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#3F2F4E
secondary
#6C7F5A
accent
#C16792
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3F2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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