#3F2192#3F2192

#3F2192 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.171 H 286.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3F2192
RGBrgb(63, 33, 146)
HSLhsl(256, 63%, 35%)
HSVhsv(256, 77%, 57%)
CMYKcmyk(56.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(24.38, 43.03, -56.94)
CIE-LCHlch(24.38, 71.37, 307.08°)
OKLaboklab(36.74% 0.0492 -0.1639)
OKLCHoklch(36.74% 0.171 286.7)
XYZxyz(7.7805, 4.2194, 27.5930)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2192 #749221
analogous
#213C92 #3F2192 #772192
triadic
#3F2192 #923F21 #21923F
tetradic
#3F2192 #92213C #749221 #219277
square
#3F2192 #92213C #749221 #219277
split-complementary
#3F2192 #927721 #3C9221
monochromatic
#140A2E #291660 #3F2192 #552CC4 #7855D9

Accessibility & contrast

On white

11.39
#3F2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2192
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2192#FFFFFF#000000##FFFFFF
##3F21921.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#194158
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2192;
/* rgb */ color: rgb(63, 33, 146);
/* oklch */ color: oklch(36.7% 0.171 286.7);
Tailwind
colors: {
  custom: {
    50: '#7e60b3',
    500: '#3f2192',
    950: '#000000',
  },
}
SCSS
$custom: #3f2192;
$custom-light: #7e60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2192",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 255.929,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36739,
    "c": 0.1711,
    "h": 286.7
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#3F2192
secondary
#A0BC53
accent
#E642BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2192

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

Preview Lab → · Contrast checker → · Palette generator →

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