#3F1E9A#3F1E9A

#3F1E9A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.183 H 285.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3F1E9A
RGBrgb(63, 30, 154)
HSLhsl(256, 67%, 36%)
HSVhsv(256, 81%, 60%)
CMYKcmyk(59.1%, 80.5%, 0%, 39.6%)
CIE-LABlab(24.70, 46.82, -61.35)
CIE-LCHlch(24.70, 77.17, 307.35°)
OKLaboklab(37.2% 0.0489 -0.1767)
OKLCHoklch(37.2% 0.183 285.4)
XYZxyz(8.3451, 4.3179, 30.9593)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E9A #799A1E
analogous
#1E3B9A #3F1E9A #7D1E9A
triadic
#3F1E9A #9A3F1E #1E9A3F
tetradic
#3F1E9A #9A1E3B #799A1E #1E9A7D
square
#3F1E9A #9A1E3B #799A1E #1E9A7D
split-complementary
#3F1E9A #9A7D1E #3B9A1E
monochromatic
#150A34 #2A1467 #3F1E9A #5428CD #7955DE

Accessibility & contrast

On white

11.27
#3F1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1E9A
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E9A#FFFFFF#000000##FFFFFF
##3F1E9A1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#0C435C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f1e9a;
/* rgb */ color: rgb(63, 30, 154);
/* oklch */ color: oklch(37.2% 0.183 285.4);
Tailwind
colors: {
  custom: {
    50: '#805fb9',
    500: '#3f1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e9a;
$custom-light: #805fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e9a",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 255.968,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37202,
    "c": 0.18338,
    "h": 285.4
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#3F1E9A
secondary
#A4C153
accent
#EA3EBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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