#3F247A#3F247A

#3F247A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.138 H 292.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#3F247A
RGBrgb(63, 36, 122)
HSLhsl(259, 54%, 31%)
HSVhsv(259, 70%, 48%)
CMYKcmyk(48.4%, 70.5%, 0%, 52.2%)
CIE-LABlab(22.74, 34.23, -44.59)
CIE-LCHlch(22.74, 56.21, 307.52°)
OKLaboklab(34.89% 0.0519 -0.1277)
OKLCHoklch(34.89% 0.138 292.1)
XYZxyz(6.1926, 3.7234, 18.8010)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F247A #5F7A24
analogous
#24347A #3F247A #6A247A
triadic
#3F247A #7A3F24 #247A3F
tetradic
#3F247A #7A2434 #5F7A24 #247A6A
square
#3F247A #7A2434 #5F7A24 #247A6A
split-complementary
#3F247A #7A6A24 #347A24
monochromatic
#0E081B #27164B #3F247A #5732A9 #754ECB

Accessibility & contrast

On white

12.04
#3F247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F247A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F247A#FFFFFF#000000##FFFFFF
##3F247A1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#2D394C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f247a;
/* rgb */ color: rgb(63, 36, 122);
/* oklch */ color: oklch(34.9% 0.138 292.1);
Tailwind
colors: {
  custom: {
    50: '#7a61a1',
    500: '#3f247a',
    950: '#000000',
  },
}
SCSS
$custom: #3f247a;
$custom-light: #7a61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f247a",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 258.837,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34887,
    "c": 0.13783,
    "h": 292.1
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#3F247A
secondary
#8FAC4D
accent
#DE4AAF
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F247A

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

Preview Lab → · Contrast checker → · Palette generator →

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