#3F2290#3F2290

#3F2290 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.168 H 287.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3F2290
RGBrgb(63, 34, 144)
HSLhsl(256, 62%, 35%)
HSVhsv(256, 76%, 56%)
CMYKcmyk(56.3%, 76.4%, 0%, 43.5%)
CIE-LABlab(24.37, 41.93, -55.73)
CIE-LCHlch(24.37, 69.74, 306.96°)
OKLaboklab(36.67% 0.0489 -0.1603)
OKLCHoklch(36.67% 0.168 287)
XYZxyz(7.6545, 4.2140, 26.7902)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2290 #739022
analogous
#223C90 #3F2290 #762290
triadic
#3F2290 #903F22 #22903F
tetradic
#3F2290 #90223C #739022 #229076
square
#3F2290 #90223C #739022 #229076
split-complementary
#3F2290 #907622 #3C9022
monochromatic
#140B2D #29165E #3F2290 #552EC2 #7855D7

Accessibility & contrast

On white

11.40
#3F2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2290
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2290#FFFFFF#000000##FFFFFF
##3F22901.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#1C4157
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2290;
/* rgb */ color: rgb(63, 34, 144);
/* oklch */ color: oklch(36.7% 0.168 287.0);
Tailwind
colors: {
  custom: {
    50: '#7e61b2',
    500: '#3f2290',
    950: '#000000',
  },
}
SCSS
$custom: #3f2290;
$custom-light: #7e61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2290",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 255.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36668,
    "c": 0.16765,
    "h": 287
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#3F2290
secondary
#9FBB53
accent
#E543BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2290

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

Preview Lab → · Contrast checker → · Palette generator →

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