#3F247D#3F247D

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

Color values

HEX#3F247D
RGBrgb(63, 36, 125)
HSLhsl(258, 55%, 32%)
HSVhsv(258, 71%, 49%)
CMYKcmyk(49.6%, 71.2%, 0%, 51%)
CIE-LABlab(23.00, 35.14, -46.07)
CIE-LCHlch(23.00, 57.94, 307.33°)
OKLaboklab(35.15% 0.0514 -0.132)
OKLCHoklch(35.15% 0.142 291.3)
XYZxyz(6.3814, 3.7989, 19.7951)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F247D #627D24
analogous
#24367D #3F247D #6C247D
triadic
#3F247D #7D3F24 #247D3F
tetradic
#3F247D #7D2436 #627D24 #247D6C
square
#3F247D #7D2436 #627D24 #247D6C
split-complementary
#3F247D #7D6C24 #367D24
monochromatic
#0F091E #27164D #3F247D #5732AD #754FCC

Accessibility & contrast

On white

11.93
#3F247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F247D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F247D#FFFFFF#000000##FFFFFF
##3F247D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#2B3A4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f247d;
/* rgb */ color: rgb(63, 36, 125);
/* oklch */ color: oklch(35.2% 0.142 291.3);
Tailwind
colors: {
  custom: {
    50: '#7a61a3',
    500: '#3f247d',
    950: '#000000',
  },
}
SCSS
$custom: #3f247d;
$custom-light: #7a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f247d",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 258.202,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.14169,
    "h": 291.3
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#3F247D
secondary
#92AF4D
accent
#DF49B1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F247D

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

Preview Lab → · Contrast checker → · Palette generator →

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