#3F2289#3F2289

#3F2289 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.159 H 288.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3F2289
RGBrgb(63, 34, 137)
HSLhsl(257, 60%, 34%)
HSVhsv(257, 75%, 54%)
CMYKcmyk(54%, 75.2%, 0%, 46.3%)
CIE-LABlab(23.69, 39.84, -52.48)
CIE-LCHlch(23.69, 65.89, 307.21°)
OKLaboklab(35.99% 0.0507 -0.1508)
OKLCHoklch(35.99% 0.159 288.6)
XYZxyz(7.1360, 4.0066, 24.0594)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2289 #6C8922
analogous
#223889 #3F2289 #722289
triadic
#3F2289 #893F22 #22893F
tetradic
#3F2289 #892238 #6C8922 #228972
square
#3F2289 #892238 #6C8922 #228972
split-complementary
#3F2289 #897222 #388922
monochromatic
#120A27 #281658 #3F2289 #562EBA #7651D4

Accessibility & contrast

On white

11.66
#3F2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3F2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2289
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2289#FFFFFF#000000##FFFFFF
##3F22891.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#233E53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2289;
/* rgb */ color: rgb(63, 34, 137);
/* oklch */ color: oklch(36.0% 0.159 288.6);
Tailwind
colors: {
  custom: {
    50: '#7c60ac',
    500: '#3f2289',
    950: '#000000',
  },
}
SCSS
$custom: #3f2289;
$custom-light: #7c60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2289",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 256.893,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35987,
    "c": 0.15914,
    "h": 288.6
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#3F2289
secondary
#9AB84F
accent
#E344B7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2289

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

Preview Lab → · Contrast checker → · Palette generator →

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