#3F2C4E#3F2C4E

#3F2C4E is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.1% C 0.063 H 309.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3F2C4E
RGBrgb(63, 44, 78)
HSLhsl(274, 28%, 24%)
HSVhsv(274, 44%, 31%)
CMYKcmyk(19.2%, 43.6%, 0%, 69.4%)
CIE-LABlab(21.61, 16.40, -17.63)
CIE-LCHlch(21.61, 24.08, 312.93°)
OKLaboklab(33.08% 0.0396 -0.0488)
OKLCHoklch(33.08% 0.063 309)
XYZxyz(4.3255, 3.4082, 7.6362)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2C4E #3B4E2C
analogous
#2E2C4E #3F2C4E #4E2C4C
triadic
#3F2C4E #4E3F2C #2C4E3F
tetradic
#3F2C4E #4E2E2C #3B4E2C #2C4C4E
square
#3F2C4E #4E2E2C #3B4E2C #2C4C4E
split-complementary
#3F2C4E #4C4E2C #2C4E2E
monochromatic
#100B14 #1F1627 #3F2C4E #5F4275 #7E589C

Accessibility & contrast

On white

12.49
#3F2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3F2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2C4E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2C4E#FFFFFF#000000##FFFFFF
##3F2C4E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#3D3139
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f2c4e;
/* rgb */ color: rgb(63, 44, 78);
/* oklch */ color: oklch(33.1% 0.063 309.0);
Tailwind
colors: {
  custom: {
    50: '#75657f',
    500: '#3f2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2c4e;
$custom-light: #75657f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2c4e",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 273.529,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.06285,
    "h": 309
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#3F2C4E
secondary
#688056
accent
#C4648E
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3F2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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