#3F2394#3F2394

#3F2394 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.171 H 285.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3F2394
RGBrgb(63, 35, 148)
HSLhsl(255, 62%, 36%)
HSVhsv(255, 76%, 58%)
CMYKcmyk(57.4%, 76.4%, 0%, 42%)
CIE-LABlab(24.94, 42.60, -57.26)
CIE-LCHlch(24.94, 71.37, 306.65°)
OKLaboklab(37.19% 0.0471 -0.1648)
OKLCHoklch(37.19% 0.171 285.9)
XYZxyz(7.9946, 4.3965, 28.4386)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2394 #789423
analogous
#233F94 #3F2394 #772394
triadic
#3F2394 #943F23 #23943F
tetradic
#3F2394 #94233F #789423 #239477
square
#3F2394 #94233F #789423 #239477
split-complementary
#3F2394 #947723 #3F9423
monochromatic
#150C31 #2A1763 #3F2394 #542FC5 #795AD8

Accessibility & contrast

On white

11.17
#3F2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2394
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2394#FFFFFF#000000##FFFFFF
##3F23941.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2394;
/* rgb */ color: rgb(63, 35, 148);
/* oklch */ color: oklch(37.2% 0.171 285.9);
Tailwind
colors: {
  custom: {
    50: '#7e61b4',
    500: '#3f2394',
    950: '#000000',
  },
}
SCSS
$custom: #3f2394;
$custom-light: #7e61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2394",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 254.867,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.17143,
    "h": 285.9
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#3F2394
secondary
#A3BC57
accent
#E543BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2394

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

Preview Lab → · Contrast checker → · Palette generator →

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