#3F2B60#3F2B60

#3F2B60 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.0% C 0.091 H 298.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#3F2B60
RGBrgb(63, 43, 96)
HSLhsl(263, 38%, 27%)
HSVhsv(263, 55%, 38%)
CMYKcmyk(34.4%, 55.2%, 0%, 62.4%)
CIE-LABlab(22.40, 22.12, -28.32)
CIE-LCHlch(22.40, 35.93, 307.98°)
OKLaboklab(34.02% 0.0441 -0.0799)
OKLCHoklch(34.02% 0.091 298.9)
XYZxyz(5.0246, 3.6290, 11.4998)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B60 #4C602B
analogous
#2B3260 #3F2B60 #5A2B60
triadic
#3F2B60 #603F2B #2B603F
tetradic
#3F2B60 #602B32 #4C602B #2B605A
square
#3F2B60 #602B32 #4C602B #2B605A
split-complementary
#3F2B60 #605A2B #32602B
monochromatic
#0E0915 #231836 #3F2B60 #5B3E8A #7753B2

Accessibility & contrast

On white

12.17
#3F2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2B60
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B60#FFFFFF#000000##FFFFFF
##3F2B601.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183662
Deuteranopia (green-blind)
#1D355F
Tritanopia (blue-blind)
#383541
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2b60;
/* rgb */ color: rgb(63, 43, 96);
/* oklch */ color: oklch(34.0% 0.091 298.9);
Tailwind
colors: {
  custom: {
    50: '#76658d',
    500: '#3f2b60',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b60;
$custom-light: #76658d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b60",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 262.642,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34023,
    "c": 0.09127,
    "h": 298.9
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#3F2B60
secondary
#7B9255
accent
#CE5AA2
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #3F2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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