#3F2292#3F2292

#3F2292 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.170 H 286.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3F2292
RGBrgb(63, 34, 146)
HSLhsl(256, 62%, 35%)
HSVhsv(256, 77%, 57%)
CMYKcmyk(56.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.56, 42.52, -56.64)
CIE-LCHlch(24.56, 70.83, 306.90°)
OKLaboklab(36.86% 0.0484 -0.163)
OKLCHoklch(36.86% 0.17 286.5)
XYZxyz(7.8087, 4.2757, 27.6024)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2292 #759222
analogous
#223D92 #3F2292 #772292
triadic
#3F2292 #923F22 #22923F
tetradic
#3F2292 #92223D #759222 #229277
square
#3F2292 #92223D #759222 #229277
split-complementary
#3F2292 #927722 #3D9222
monochromatic
#140B2F #2A1660 #3F2292 #542EC4 #7857D8

Accessibility & contrast

On white

11.32
#3F2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3F2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2292
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2292#FFFFFF#000000##FFFFFF
##3F22921.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.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: #3f2292;
/* rgb */ color: rgb(63, 34, 146);
/* oklch */ color: oklch(36.9% 0.170 286.5);
Tailwind
colors: {
  custom: {
    50: '#7e61b3',
    500: '#3f2292',
    950: '#000000',
  },
}
SCSS
$custom: #3f2292;
$custom-light: #7e61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2292",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 255.536,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36865,
    "c": 0.17007,
    "h": 286.5
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#3F2292
secondary
#A1BC54
accent
#E543BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2292

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

Preview Lab → · Contrast checker → · Palette generator →

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