#3F249F#3F249F

#3F249F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.184 H 283.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3F249F
RGBrgb(63, 36, 159)
HSLhsl(253, 63%, 38%)
HSVhsv(253, 77%, 62%)
CMYKcmyk(60.4%, 77.4%, 0%, 37.6%)
CIE-LABlab(26.22, 45.38, -61.90)
CIE-LCHlch(26.22, 76.75, 306.25°)
OKLaboklab(38.42% 0.0434 -0.1784)
OKLCHoklch(38.42% 0.184 283.7)
XYZxyz(8.9369, 4.8211, 33.2538)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F249F #849F24
analogous
#24469F #3F249F #7C249F
triadic
#3F249F #9F3F24 #249F3F
tetradic
#3F249F #9F2446 #849F24 #249F7C
square
#3F249F #9F2446 #849F24 #249F7C
split-complementary
#3F249F #9F7C24 #469F24
monochromatic
#170D3B #2B196D #3F249F #5330D0 #7D62DB

Accessibility & contrast

On white

10.69
#3F249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F249F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F249F#FFFFFF#000000##FFFFFF
##3F249F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f249f;
/* rgb */ color: rgb(63, 36, 159);
/* oklch */ color: oklch(38.4% 0.184 283.7);
Tailwind
colors: {
  custom: {
    50: '#8062bd',
    500: '#3f249f',
    950: '#000000',
  },
}
SCSS
$custom: #3f249f;
$custom-light: #8062bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f249f",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 253.171,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.1836,
    "h": 283.7
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#3F249F
secondary
#ABC15E
accent
#E642C2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F249F

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

Preview Lab → · Contrast checker → · Palette generator →

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