#3F247E#3F247E

#3F247E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.143 H 291.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3F247E
RGBrgb(63, 36, 126)
HSLhsl(258, 56%, 32%)
HSVhsv(258, 71%, 49%)
CMYKcmyk(50%, 71.4%, 0%, 50.6%)
CIE-LABlab(23.08, 35.44, -46.56)
CIE-LCHlch(23.08, 58.51, 307.28°)
OKLaboklab(35.24% 0.0512 -0.1335)
OKLCHoklch(35.24% 0.143 291)
XYZxyz(6.4456, 3.8246, 20.1332)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F247E #637E24
analogous
#24367E #3F247E #6C247E
triadic
#3F247E #7E3F24 #247E3F
tetradic
#3F247E #7E2436 #637E24 #247E6C
square
#3F247E #7E2436 #637E24 #247E6C
split-complementary
#3F247E #7E6C24 #367E24
monochromatic
#0F091F #27164E #3F247E #5732AE #7550CD

Accessibility & contrast

On white

11.90
#3F247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F247E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F247E#FFFFFF#000000##FFFFFF
##3F247E1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#2B3B4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f247e;
/* rgb */ color: rgb(63, 36, 126);
/* oklch */ color: oklch(35.2% 0.143 291.0);
Tailwind
colors: {
  custom: {
    50: '#7a61a4',
    500: '#3f247e',
    950: '#000000',
  },
}
SCSS
$custom: #3f247e;
$custom-light: #7a61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f247e",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 258,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35244,
    "c": 0.14296,
    "h": 291
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#3F247E
secondary
#93B04E
accent
#DF49B2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F247E

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

Preview Lab → · Contrast checker → · Palette generator →

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