#3F2288#3F2288

#3F2288 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.158 H 288.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#3F2288
RGBrgb(63, 34, 136)
HSLhsl(257, 60%, 33%)
HSVhsv(257, 75%, 53%)
CMYKcmyk(53.7%, 75%, 0%, 46.7%)
CIE-LABlab(23.60, 39.54, -52.01)
CIE-LCHlch(23.60, 65.33, 307.25°)
OKLaboklab(35.89% 0.051 -0.1494)
OKLCHoklch(35.89% 0.158 288.8)
XYZxyz(7.0646, 3.9781, 23.6834)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2288 #6B8822
analogous
#223888 #3F2288 #722288
triadic
#3F2288 #883F22 #22883F
tetradic
#3F2288 #882238 #6B8822 #228872
square
#3F2288 #882238 #6B8822 #228872
split-complementary
#3F2288 #887222 #388822
monochromatic
#120A26 #281657 #3F2288 #562EB9 #7651D3

Accessibility & contrast

On white

11.70
#3F2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2288
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2288#FFFFFF#000000##FFFFFF
##3F22881.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2288;
/* rgb */ color: rgb(63, 34, 136);
/* oklch */ color: oklch(35.9% 0.158 288.8);
Tailwind
colors: {
  custom: {
    50: '#7c60ac',
    500: '#3f2288',
    950: '#000000',
  },
}
SCSS
$custom: #3f2288;
$custom-light: #7c60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2288",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 257.059,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.15791,
    "h": 288.8
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#3F2288
secondary
#99B74F
accent
#E345B6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2288

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

Preview Lab → · Contrast checker → · Palette generator →

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