#3F2193#3F2193

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

Color values

HEX#3F2193
RGBrgb(63, 33, 147)
HSLhsl(256, 63%, 35%)
HSVhsv(256, 78%, 58%)
CMYKcmyk(57.1%, 77.6%, 0%, 42.4%)
CIE-LABlab(24.48, 43.33, -57.39)
CIE-LCHlch(24.48, 71.91, 307.05°)
OKLaboklab(36.84% 0.0489 -0.1652)
OKLCHoklch(36.84% 0.172 286.5)
XYZxyz(7.8586, 4.2506, 28.0045)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2193 #759321
analogous
#213C93 #3F2193 #782193
triadic
#3F2193 #933F21 #21933F
tetradic
#3F2193 #93213C #759321 #219378
square
#3F2193 #93213C #759321 #219378
split-complementary
#3F2193 #937821 #3C9321
monochromatic
#140B2F #2A1661 #3F2193 #542CC5 #7855D9

Accessibility & contrast

On white

11.35
#3F2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3F2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2193
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2193#FFFFFF#000000##FFFFFF
##3F21931.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#184159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2193;
/* rgb */ color: rgb(63, 33, 147);
/* oklch */ color: oklch(36.8% 0.172 286.5);
Tailwind
colors: {
  custom: {
    50: '#7e60b4',
    500: '#3f2193',
    950: '#000000',
  },
}
SCSS
$custom: #3f2193;
$custom-light: #7e60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2193",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 255.789,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.17229,
    "h": 286.5
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#3F2193
secondary
#A1BD53
accent
#E641BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2193

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

Preview Lab → · Contrast checker → · Palette generator →

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