#3F2890#3F2890

#3F2890 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.161 H 285.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3F2890
RGBrgb(63, 40, 144)
HSLhsl(253, 57%, 36%)
HSVhsv(253, 72%, 56%)
CMYKcmyk(56.3%, 72.2%, 0%, 43.5%)
CIE-LABlab(25.53, 38.67, -53.83)
CIE-LCHlch(25.53, 66.28, 305.70°)
OKLaboklab(37.49% 0.0439 -0.1548)
OKLCHoklch(37.49% 0.161 285.8)
XYZxyz(7.8412, 4.5875, 26.8525)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2890 #799028
analogous
#284590 #3F2890 #732890
triadic
#3F2890 #903F28 #28903F
tetradic
#3F2890 #902845 #799028 #289073
square
#3F2890 #902845 #799028 #289073
split-complementary
#3F2890 #907328 #459028
monochromatic
#150D30 #2A1B60 #3F2890 #5435C0 #7960D3

Accessibility & contrast

On white

10.95
#3F2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3F2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2890
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2890#FFFFFF#000000##FFFFFF
##3F28901.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#1B4459
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2890;
/* rgb */ color: rgb(63, 40, 144);
/* oklch */ color: oklch(37.5% 0.161 285.8);
Tailwind
colors: {
  custom: {
    50: '#7d64b1',
    500: '#3f2890',
    950: '#000000',
  },
}
SCSS
$custom: #3f2890;
$custom-light: #7d64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2890",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 253.269,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.16091,
    "h": 285.8
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#3F2890
secondary
#A4B85C
accent
#E048BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2890

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

Preview Lab → · Contrast checker → · Palette generator →

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