#3F1E89#3F1E89

#3F1E89 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.163 H 289.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#3F1E89
RGBrgb(63, 30, 137)
HSLhsl(259, 64%, 33%)
HSVhsv(259, 78%, 54%)
CMYKcmyk(54%, 78.1%, 0%, 46.3%)
CIE-LABlab(22.97, 41.90, -53.67)
CIE-LCHlch(22.97, 68.08, 307.98°)
OKLaboklab(35.48% 0.0541 -0.1543)
OKLCHoklch(35.48% 0.163 289.3)
XYZxyz(7.0282, 3.7911, 24.0235)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E89 #68891E
analogous
#1E3289 #3F1E89 #751E89
triadic
#3F1E89 #893F1E #1E893F
tetradic
#3F1E89 #891E32 #68891E #1E8975
square
#3F1E89 #891E32 #68891E #1E8975
split-complementary
#3F1E89 #89751E #32891E
monochromatic
#110825 #281357 #3F1E89 #5629BB #764AD7

Accessibility & contrast

On white

11.94
#3F1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1E89
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E89#FFFFFF#000000##FFFFFF
##3F1E891.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#233C52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f1e89;
/* rgb */ color: rgb(63, 30, 137);
/* oklch */ color: oklch(35.5% 0.163 289.3);
Tailwind
colors: {
  custom: {
    50: '#7d5eac',
    500: '#3f1e89',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e89;
$custom-light: #7d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e89",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 258.505,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35478,
    "c": 0.16348,
    "h": 289.3
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#3F1E89
secondary
#97BA49
accent
#E741B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #3F1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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