#3F2286#3F2286

#3F2286 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.155 H 289.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3F2286
RGBrgb(63, 34, 134)
HSLhsl(257, 60%, 33%)
HSVhsv(257, 75%, 53%)
CMYKcmyk(53%, 74.6%, 0%, 47.5%)
CIE-LABlab(23.41, 38.95, -51.06)
CIE-LCHlch(23.41, 64.22, 307.33°)
OKLaboklab(35.7% 0.0515 -0.1467)
OKLCHoklch(35.7% 0.155 289.3)
XYZxyz(6.9238, 3.9217, 22.9418)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2286 #698622
analogous
#223786 #3F2286 #712286
triadic
#3F2286 #863F22 #22863F
tetradic
#3F2286 #862237 #698622 #228671
square
#3F2286 #862237 #698622 #228671
split-complementary
#3F2286 #867122 #378622
monochromatic
#110924 #281655 #3F2286 #562EB7 #7650D3

Accessibility & contrast

On white

11.77
#3F2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3F2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2286
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2286#FFFFFF#000000##FFFFFF
##3F22861.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#253D52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2286;
/* rgb */ color: rgb(63, 34, 134);
/* oklch */ color: oklch(35.7% 0.155 289.3);
Tailwind
colors: {
  custom: {
    50: '#7c60aa',
    500: '#3f2286',
    950: '#000000',
  },
}
SCSS
$custom: #3f2286;
$custom-light: #7c60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2286",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 257.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.15545,
    "h": 289.3
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#3F2286
secondary
#98B64E
accent
#E345B5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2286

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

Preview Lab → · Contrast checker → · Palette generator →

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