#3F2088#3F2088

#3F2088 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.160 H 289.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3F2088
RGBrgb(63, 32, 136)
HSLhsl(258, 62%, 33%)
HSVhsv(258, 76%, 53%)
CMYKcmyk(53.7%, 76.5%, 0%, 46.7%)
CIE-LABlab(23.23, 40.59, -52.62)
CIE-LCHlch(23.23, 66.45, 307.65°)
OKLaboklab(35.63% 0.0527 -0.1512)
OKLCHoklch(35.63% 0.16 289.2)
XYZxyz(7.0091, 3.8670, 23.6649)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2088 #698820
analogous
#203588 #3F2088 #732088
triadic
#3F2088 #883F20 #20883F
tetradic
#3F2088 #882035 #698820 #208873
square
#3F2088 #882035 #698820 #208873
split-complementary
#3F2088 #887320 #358820
monochromatic
#110925 #281456 #3F2088 #562CBA #764DD5

Accessibility & contrast

On white

11.84
#3F2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2088
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2088#FFFFFF#000000##FFFFFF
##3F20881.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#243C52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2088;
/* rgb */ color: rgb(63, 32, 136);
/* oklch */ color: oklch(35.6% 0.160 289.2);
Tailwind
colors: {
  custom: {
    50: '#7c5fac',
    500: '#3f2088',
    950: '#000000',
  },
}
SCSS
$custom: #3f2088;
$custom-light: #7c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2088",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 257.885,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35629,
    "c": 0.16014,
    "h": 289.2
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#3F2088
secondary
#98B84C
accent
#E543B5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2088

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

Preview Lab → · Contrast checker → · Palette generator →

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