#3F2294#3F2294

#3F2294 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.172 H 286.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#3F2294
RGBrgb(63, 34, 148)
HSLhsl(255, 63%, 36%)
HSVhsv(255, 77%, 58%)
CMYKcmyk(57.4%, 77%, 0%, 42%)
CIE-LABlab(24.76, 43.12, -57.55)
CIE-LCHlch(24.76, 71.91, 306.84°)
OKLaboklab(37.06% 0.0479 -0.1657)
OKLCHoklch(37.06% 0.172 286.1)
XYZxyz(7.9656, 4.3385, 28.4289)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2294 #779422
analogous
#223E94 #3F2294 #782294
triadic
#3F2294 #943F22 #22943F
tetradic
#3F2294 #94223E #779422 #229478
square
#3F2294 #94223E #779422 #229478
split-complementary
#3F2294 #947822 #3E9422
monochromatic
#150B30 #2A1762 #3F2294 #542DC6 #7958D9

Accessibility & contrast

On white

11.24
#3F2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2294
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2294#FFFFFF#000000##FFFFFF
##3F22941.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#16425A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2294;
/* rgb */ color: rgb(63, 34, 148);
/* oklch */ color: oklch(37.1% 0.172 286.1);
Tailwind
colors: {
  custom: {
    50: '#7e61b4',
    500: '#3f2294',
    950: '#000000',
  },
}
SCSS
$custom: #3f2294;
$custom-light: #7e61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2294",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 255.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.17246,
    "h": 286.1
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#3F2294
secondary
#A2BD55
accent
#E642BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2294

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

Preview Lab → · Contrast checker → · Palette generator →

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