#3F2092#3F2092

#3F2092 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.172 H 286.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#3F2092
RGBrgb(63, 32, 146)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 57%)
CMYKcmyk(56.8%, 78.1%, 0%, 42.7%)
CIE-LABlab(24.21, 43.53, -57.22)
CIE-LCHlch(24.21, 71.90, 307.26°)
OKLaboklab(36.62% 0.0499 -0.1647)
OKLCHoklch(36.62% 0.172 286.9)
XYZxyz(7.7532, 4.1647, 27.5839)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2092 #739220
analogous
#203A92 #3F2092 #782092
triadic
#3F2092 #923F20 #20923F
tetradic
#3F2092 #92203A #739220 #209278
square
#3F2092 #92203A #739220 #209278
split-complementary
#3F2092 #927820 #3A9220
monochromatic
#140A2E #291560 #3F2092 #552BC4 #7853D9

Accessibility & contrast

On white

11.46
#3F2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3F2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2092
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2092#FFFFFF#000000##FFFFFF
##3F20921.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#194058
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2092;
/* rgb */ color: rgb(63, 32, 146);
/* oklch */ color: oklch(36.6% 0.172 286.9);
Tailwind
colors: {
  custom: {
    50: '#7e60b3',
    500: '#3f2092',
    950: '#000000',
  },
}
SCSS
$custom: #3f2092;
$custom-light: #7e60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2092",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 256.316,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36616,
    "c": 0.17212,
    "h": 286.9
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#3F2092
secondary
#9FBD51
accent
#E741BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2092

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

Preview Lab → · Contrast checker → · Palette generator →

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