#3F249C#3F249C

#3F249C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.180 H 284.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3F249C
RGBrgb(63, 36, 156)
HSLhsl(254, 63%, 38%)
HSVhsv(254, 77%, 61%)
CMYKcmyk(59.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(25.92, 44.49, -60.56)
CIE-LCHlch(25.92, 75.14, 306.30°)
OKLaboklab(38.12% 0.0442 -0.1745)
OKLCHoklch(38.12% 0.18 284.2)
XYZxyz(8.6797, 4.7183, 31.8994)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F249C #819C24
analogous
#24459C #3F249C #7B249C
triadic
#3F249C #9C3F24 #249C3F
tetradic
#3F249C #9C2445 #819C24 #249C7B
square
#3F249C #9C2445 #819C24 #249C7B
split-complementary
#3F249C #9C7B24 #459C24
monochromatic
#170D39 #2B196A #3F249C #532FCE #7C60DA

Accessibility & contrast

On white

10.80
#3F249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F249C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F249C#FFFFFF#000000##FFFFFF
##3F249C1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#05465F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f249c;
/* rgb */ color: rgb(63, 36, 156);
/* oklch */ color: oklch(38.1% 0.180 284.2);
Tailwind
colors: {
  custom: {
    50: '#8062ba',
    500: '#3f249c',
    950: '#000000',
  },
}
SCSS
$custom: #3f249c;
$custom-light: #8062ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f249c",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 253.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38116,
    "c": 0.18003,
    "h": 284.2
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#3F249C
secondary
#A9BF5C
accent
#E642C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F249C

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

Preview Lab → · Contrast checker → · Palette generator →

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