#3F2196#3F2196

#3F2196 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.176 H 285.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3F2196
RGBrgb(63, 33, 150)
HSLhsl(255, 64%, 36%)
HSVhsv(255, 78%, 59%)
CMYKcmyk(58%, 78%, 0%, 41.2%)
CIE-LABlab(24.78, 44.21, -58.75)
CIE-LCHlch(24.78, 73.53, 306.97°)
OKLaboklab(37.14% 0.048 -0.1692)
OKLCHoklch(37.14% 0.176 285.9)
XYZxyz(8.0971, 4.3460, 29.2604)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2196 #789621
analogous
#213D96 #3F2196 #792196
triadic
#3F2196 #963F21 #21963F
tetradic
#3F2196 #96213D #789621 #219679
square
#3F2196 #96213D #789621 #219679
split-complementary
#3F2196 #967921 #3D9621
monochromatic
#150B32 #2A1664 #3F2196 #542CC8 #7957DA

Accessibility & contrast

On white

11.23
#3F2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2196
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2196#FFFFFF#000000##FFFFFF
##3F21961.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#13425B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2196;
/* rgb */ color: rgb(63, 33, 150);
/* oklch */ color: oklch(37.1% 0.176 285.9);
Tailwind
colors: {
  custom: {
    50: '#7f60b6',
    500: '#3f2196',
    950: '#000000',
  },
}
SCSS
$custom: #3f2196;
$custom-light: #7f60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2196",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 255.385,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.17586,
    "h": 285.9
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#3F2196
secondary
#A3BE55
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2196

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

Preview Lab → · Contrast checker → · Palette generator →

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