#3F2183#3F2183

#3F2183 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.153 H 290.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3F2183
RGBrgb(63, 33, 131)
HSLhsl(258, 60%, 32%)
HSVhsv(258, 75%, 51%)
CMYKcmyk(51.9%, 74.8%, 0%, 48.6%)
CIE-LABlab(22.94, 38.59, -49.95)
CIE-LCHlch(22.94, 63.12, 307.69°)
OKLaboklab(35.28% 0.0531 -0.1434)
OKLCHoklch(35.28% 0.153 290.3)
XYZxyz(6.6893, 3.7829, 21.8460)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2183 #658321
analogous
#213483 #3F2183 #702183
triadic
#3F2183 #833F21 #21833F
tetradic
#3F2183 #832134 #658321 #218370
square
#3F2183 #832134 #658321 #218370
split-complementary
#3F2183 #837021 #348321
monochromatic
#100821 #271552 #3F2183 #572DB4 #754CD2

Accessibility & contrast

On white

11.95
#3F2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2183
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2183#FFFFFF#000000##FFFFFF
##3F21831.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#273B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2183;
/* rgb */ color: rgb(63, 33, 131);
/* oklch */ color: oklch(35.3% 0.153 290.3);
Tailwind
colors: {
  custom: {
    50: '#7c5fa8',
    500: '#3f2183',
    950: '#000000',
  },
}
SCSS
$custom: #3f2183;
$custom-light: #7c5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2183",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 258.367,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35282,
    "c": 0.15292,
    "h": 290.3
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#3F2183
secondary
#95B54B
accent
#E345B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2183

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

Preview Lab → · Contrast checker → · Palette generator →

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