#3F2452#3F2452

#3F2452 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.084 H 309.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#3F2452
RGBrgb(63, 36, 82)
HSLhsl(275, 39%, 23%)
HSVhsv(275, 56%, 32%)
CMYKcmyk(23.2%, 56.1%, 0%, 67.8%)
CIE-LABlab(19.75, 22.71, -23.24)
CIE-LCHlch(19.75, 32.50, 314.34°)
OKLaboklab(31.77% 0.0536 -0.065)
OKLCHoklch(31.77% 0.084 309.5)
XYZxyz(4.2035, 2.9278, 8.3247)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2452 #375224
analogous
#282452 #3F2452 #52244E
triadic
#3F2452 #523F24 #24523F
tetradic
#3F2452 #522824 #375224 #244E52
square
#3F2452 #522824 #375224 #244E52
split-complementary
#3F2452 #4E5224 #245228
monochromatic
#100915 #1E1127 #3F2452 #60377D #8049A7

Accessibility & contrast

On white

13.24
#3F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3F2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2452
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2452#FFFFFF#000000##FFFFFF
##3F24521.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#3D2C37
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f2452;
/* rgb */ color: rgb(63, 36, 82);
/* oklch */ color: oklch(31.8% 0.084 309.5);
Tailwind
colors: {
  custom: {
    50: '#756083',
    500: '#3f2452',
    950: '#000000',
  },
}
SCSS
$custom: #3f2452;
$custom-light: #756083;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2452",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 275.217,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.08431,
    "h": 309.5
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#3F2452
secondary
#64864C
accent
#CF598A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3F2452

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

Preview Lab → · Contrast checker → · Palette generator →

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