#3F1890#3F1890

#3F1890 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.177 H 288.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#3F1890
RGBrgb(63, 24, 144)
HSLhsl(260, 71%, 33%)
HSVhsv(260, 83%, 56%)
CMYKcmyk(56.3%, 83.3%, 0%, 43.5%)
CIE-LABlab(22.73, 46.63, -58.41)
CIE-LCHlch(22.73, 74.74, 308.60°)
OKLaboklab(35.53% 0.0561 -0.1681)
OKLCHoklch(35.53% 0.177 288.4)
XYZxyz(7.4091, 3.7233, 26.7084)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1890 #699018
analogous
#182D90 #3F1890 #7B1890
triadic
#3F1890 #903F18 #18903F
tetradic
#3F1890 #90182D #699018 #18907B
square
#3F1890 #90182D #699018 #18907B
split-complementary
#3F1890 #907B18 #2D9018
monochromatic
#110727 #280F5C #3F1890 #5621C4 #7643E0

Accessibility & contrast

On white

12.04
#3F1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1890
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1890#FFFFFF#000000##FFFFFF
##3F18901.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#1C3C55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1890;
/* rgb */ color: rgb(63, 24, 144);
/* oklch */ color: oklch(35.5% 0.177 288.4);
Tailwind
colors: {
  custom: {
    50: '#7e5bb2',
    500: '#3f1890',
    950: '#000000',
  },
}
SCSS
$custom: #3f1890;
$custom-light: #7e5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1890",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 259.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3553,
    "c": 0.1772,
    "h": 288.4
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#3F1890
secondary
#98C043
accent
#EE3AB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F1890

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

Preview Lab → · Contrast checker → · Palette generator →

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