#3F247C#3F247C

#3F247C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.140 H 291.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#3F247C
RGBrgb(63, 36, 124)
HSLhsl(258, 55%, 31%)
HSVhsv(258, 71%, 49%)
CMYKcmyk(49.2%, 71%, 0%, 51.4%)
CIE-LABlab(22.91, 34.83, -45.57)
CIE-LCHlch(22.91, 57.36, 307.39°)
OKLaboklab(35.06% 0.0516 -0.1306)
OKLCHoklch(35.06% 0.14 291.6)
XYZxyz(6.3178, 3.7735, 19.4604)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F247C #617C24
analogous
#24357C #3F247C #6B247C
triadic
#3F247C #7C3F24 #247C3F
tetradic
#3F247C #7C2435 #617C24 #247C6B
square
#3F247C #7C2435 #617C24 #247C6B
split-complementary
#3F247C #7C6B24 #357C24
monochromatic
#0F081D #27164D #3F247C #5732AB #754FCC

Accessibility & contrast

On white

11.97
#3F247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3F247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F247C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F247C#FFFFFF#000000##FFFFFF
##3F247C1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#2C3A4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f247c;
/* rgb */ color: rgb(63, 36, 124);
/* oklch */ color: oklch(35.1% 0.140 291.6);
Tailwind
colors: {
  custom: {
    50: '#7a61a3',
    500: '#3f247c',
    950: '#000000',
  },
}
SCSS
$custom: #3f247c;
$custom-light: #7a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f247c",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 258.409,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.14041,
    "h": 291.6
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#3F247C
secondary
#91AE4D
accent
#DE49B1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3F247C

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

Preview Lab → · Contrast checker → · Palette generator →

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