#3F2284#3F2284

#3F2284 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.153 H 289.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3F2284
RGBrgb(63, 34, 132)
HSLhsl(258, 59%, 33%)
HSVhsv(258, 74%, 52%)
CMYKcmyk(52.3%, 74.2%, 0%, 48.2%)
CIE-LABlab(23.23, 38.35, -50.11)
CIE-LCHlch(23.23, 63.10, 307.43°)
OKLaboklab(35.51% 0.0519 -0.1439)
OKLCHoklch(35.51% 0.153 289.8)
XYZxyz(6.7856, 3.8665, 22.2141)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2284 #678422
analogous
#223684 #3F2284 #702284
triadic
#3F2284 #843F22 #22843F
tetradic
#3F2284 #842236 #678422 #228470
square
#3F2284 #842236 #678422 #228470
split-complementary
#3F2284 #847022 #368422
monochromatic
#110923 #281553 #3F2284 #562FB5 #764FD2

Accessibility & contrast

On white

11.84
#3F2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2284
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2284#FFFFFF#000000##FFFFFF
##3F22841.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2284;
/* rgb */ color: rgb(63, 34, 132);
/* oklch */ color: oklch(35.5% 0.153 289.8);
Tailwind
colors: {
  custom: {
    50: '#7c60a9',
    500: '#3f2284',
    950: '#000000',
  },
}
SCSS
$custom: #3f2284;
$custom-light: #7c60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2284",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 257.755,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.15297,
    "h": 289.8
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#3F2284
secondary
#96B54D
accent
#E246B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2284

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

Preview Lab → · Contrast checker → · Palette generator →

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