#3F247F#3F247F

#3F247F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.144 H 290.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#3F247F
RGBrgb(63, 36, 127)
HSLhsl(258, 56%, 32%)
HSVhsv(258, 72%, 50%)
CMYKcmyk(50.4%, 71.7%, 0%, 50.2%)
CIE-LABlab(23.17, 35.74, -47.05)
CIE-LCHlch(23.17, 59.08, 307.22°)
OKLaboklab(35.33% 0.051 -0.1349)
OKLCHoklch(35.33% 0.144 290.7)
XYZxyz(6.5105, 3.8506, 20.4748)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F247F #647F24
analogous
#24377F #3F247F #6D247F
triadic
#3F247F #7F3F24 #247F3F
tetradic
#3F247F #7F2437 #647F24 #247F6D
square
#3F247F #7F2437 #647F24 #247F6D
split-complementary
#3F247F #7F6D24 #377F24
monochromatic
#100920 #27164F #3F247F #5732AF #7550CD

Accessibility & contrast

On white

11.86
#3F247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F247F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F247F#FFFFFF#000000##FFFFFF
##3F247F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#2A3B4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f247f;
/* rgb */ color: rgb(63, 36, 127);
/* oklch */ color: oklch(35.3% 0.144 290.7);
Tailwind
colors: {
  custom: {
    50: '#7b61a5',
    500: '#3f247f',
    950: '#000000',
  },
}
SCSS
$custom: #3f247f;
$custom-light: #7b61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f247f",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 257.802,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.14424,
    "h": 290.7
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#3F247F
secondary
#94B14E
accent
#DF49B2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F247F

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

Preview Lab → · Contrast checker → · Palette generator →

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