#3F2089#3F2089

#3F2089 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.161 H 289.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#3F2089
RGBrgb(63, 32, 137)
HSLhsl(258, 62%, 33%)
HSVhsv(258, 77%, 54%)
CMYKcmyk(54%, 76.6%, 0%, 46.3%)
CIE-LABlab(23.32, 40.89, -53.08)
CIE-LCHlch(23.32, 67.00, 307.61°)
OKLaboklab(35.73% 0.0524 -0.1526)
OKLCHoklch(35.73% 0.161 289)
XYZxyz(7.0805, 3.8956, 24.0409)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2089 #6A8920
analogous
#203689 #3F2089 #732089
triadic
#3F2089 #893F20 #20893F
tetradic
#3F2089 #892036 #6A8920 #208973
square
#3F2089 #892036 #6A8920 #208973
split-complementary
#3F2089 #897320 #368920
monochromatic
#110926 #281457 #3F2089 #562CBB #764ED6

Accessibility & contrast

On white

11.80
#3F2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3F2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2089
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2089#FFFFFF#000000##FFFFFF
##3F20891.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#233D53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2089;
/* rgb */ color: rgb(63, 32, 137);
/* oklch */ color: oklch(35.7% 0.161 289.0);
Tailwind
colors: {
  custom: {
    50: '#7d5fac',
    500: '#3f2089',
    950: '#000000',
  },
}
SCSS
$custom: #3f2089;
$custom-light: #7d5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2089",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 257.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.16135,
    "h": 289
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#3F2089
secondary
#99B94C
accent
#E543B5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2089

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

Preview Lab → · Contrast checker → · Palette generator →

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