#3F2096#3F2096

#3F2096 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.177 H 286.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#3F2096
RGBrgb(63, 32, 150)
HSLhsl(256, 65%, 36%)
HSVhsv(256, 79%, 59%)
CMYKcmyk(58%, 78.7%, 0%, 41.2%)
CIE-LABlab(24.61, 44.71, -59.03)
CIE-LCHlch(24.61, 74.05, 307.14°)
OKLaboklab(37.02% 0.0488 -0.17)
OKLCHoklch(37.02% 0.177 286)
XYZxyz(8.0698, 4.2913, 29.2513)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2096 #779620
analogous
#203C96 #3F2096 #7A2096
triadic
#3F2096 #963F20 #20963F
tetradic
#3F2096 #96203C #779620 #20967A
square
#3F2096 #96203C #779620 #20967A
split-complementary
#3F2096 #967A20 #3C9620
monochromatic
#150A31 #2A1564 #3F2096 #542BC8 #7956DB

Accessibility & contrast

On white

11.30
#3F2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2096
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2096#FFFFFF#000000##FFFFFF
##3F20961.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#14425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2096;
/* rgb */ color: rgb(63, 32, 150);
/* oklch */ color: oklch(37.0% 0.177 286.0);
Tailwind
colors: {
  custom: {
    50: '#7f60b6',
    500: '#3f2096',
    950: '#000000',
  },
}
SCSS
$custom: #3f2096;
$custom-light: #7f60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2096",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 255.763,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3702,
    "c": 0.17684,
    "h": 286
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#3F2096
secondary
#A2BE53
accent
#E840BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2096

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

Preview Lab → · Contrast checker → · Palette generator →

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