#3F2194#3F2194

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

Color values

HEX#3F2194
RGBrgb(63, 33, 148)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 58%)
CMYKcmyk(57.4%, 77.7%, 0%, 42%)
CIE-LABlab(24.58, 43.62, -57.84)
CIE-LCHlch(24.58, 72.45, 307.02°)
OKLaboklab(36.94% 0.0486 -0.1665)
OKLCHoklch(36.94% 0.173 286.3)
XYZxyz(7.9374, 4.2821, 28.4195)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2194 #769421
analogous
#213C94 #3F2194 #782194
triadic
#3F2194 #943F21 #21943F
tetradic
#3F2194 #94213C #769421 #219478
square
#3F2194 #94213C #769421 #219478
split-complementary
#3F2194 #947821 #3C9421
monochromatic
#140B30 #2A1662 #3F2194 #542CC6 #7856D9

Accessibility & contrast

On white

11.31
#3F2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2194
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2194#FFFFFF#000000##FFFFFF
##3F21941.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#174259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2194;
/* rgb */ color: rgb(63, 33, 148);
/* oklch */ color: oklch(36.9% 0.173 286.3);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3f2194',
    950: '#000000',
  },
}
SCSS
$custom: #3f2194;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2194",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 255.652,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36939,
    "c": 0.17349,
    "h": 286.3
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#3F2194
secondary
#A2BD54
accent
#E741BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2194

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

Preview Lab → · Contrast checker → · Palette generator →

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