#3F2F4B#3F2F4B

#3F2F4B is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.6% C 0.052 H 309.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#3F2F4B
RGBrgb(63, 47, 75)
HSLhsl(274, 23%, 24%)
HSVhsv(274, 37%, 29%)
CMYKcmyk(16%, 37.3%, 0%, 70.6%)
CIE-LABlab(22.29, 13.60, -14.56)
CIE-LCHlch(22.29, 19.92, 313.05°)
OKLaboklab(33.55% 0.0335 -0.04)
OKLCHoklch(33.55% 0.052 309.9)
XYZxyz(4.3362, 3.5978, 7.1213)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F4B #3B4B2F
analogous
#312F4B #3F2F4B #4B2F49
triadic
#3F2F4B #4B3F2F #2F4B3F
tetradic
#3F2F4B #4B312F #3B4B2F #2F494B
square
#3F2F4B #4B312F #3B4B2F #2F494B
split-complementary
#3F2F4B #494B2F #2F4B31
monochromatic
#100C13 #1F1725 #3F2F4B #5F4771 #7E5E96

Accessibility & contrast

On white

12.21
#3F2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3F2F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F4B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F4B#FFFFFF#000000##FFFFFF
##3F2F4B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354C
Deuteranopia (green-blind)
#2D364A
Tritanopia (blue-blind)
#3E3339
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f2f4b;
/* rgb */ color: rgb(63, 47, 75);
/* oklch */ color: oklch(33.6% 0.052 309.9);
Tailwind
colors: {
  custom: {
    50: '#74677d',
    500: '#3f2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f4b;
$custom-light: #74677d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f4b",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 274.286,
    "s": 22.951,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33551,
    "c": 0.0522,
    "h": 309.9
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#3F2F4B
secondary
#687C5A
accent
#BF688E
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #3F2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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