#3F2184#3F2184

#3F2184 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.154 H 290.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3F2184
RGBrgb(63, 33, 132)
HSLhsl(258, 60%, 32%)
HSVhsv(258, 75%, 52%)
CMYKcmyk(52.3%, 75%, 0%, 48.2%)
CIE-LABlab(23.03, 38.89, -50.42)
CIE-LCHlch(23.03, 63.68, 307.64°)
OKLaboklab(35.38% 0.0529 -0.1448)
OKLCHoklch(35.38% 0.154 290.1)
XYZxyz(6.7574, 3.8101, 22.2047)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2184 #668421
analogous
#213484 #3F2184 #712184
triadic
#3F2184 #843F21 #21843F
tetradic
#3F2184 #842134 #668421 #218471
square
#3F2184 #842134 #668421 #218471
split-complementary
#3F2184 #847121 #348421
monochromatic
#100922 #281553 #3F2184 #562DB5 #754DD2

Accessibility & contrast

On white

11.92
#3F2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2184
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2184#FFFFFF#000000##FFFFFF
##3F21841.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#273B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2184;
/* rgb */ color: rgb(63, 33, 132);
/* oklch */ color: oklch(35.4% 0.154 290.1);
Tailwind
colors: {
  custom: {
    50: '#7c5fa9',
    500: '#3f2184',
    950: '#000000',
  },
}
SCSS
$custom: #3f2184;
$custom-light: #7c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2184",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 258.182,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.15414,
    "h": 290.1
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#3F2184
secondary
#95B64B
accent
#E345B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2184

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

Preview Lab → · Contrast checker → · Palette generator →

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