#3F259E#3F259E

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

Color values

HEX#3F259E
RGBrgb(63, 37, 158)
HSLhsl(253, 62%, 38%)
HSVhsv(253, 77%, 62%)
CMYKcmyk(60.1%, 76.6%, 0%, 38%)
CIE-LABlab(26.30, 44.57, -61.16)
CIE-LCHlch(26.30, 75.68, 306.09°)
OKLaboklab(38.44% 0.043 -0.1763)
OKLCHoklch(38.44% 0.181 283.7)
XYZxyz(8.8811, 4.8479, 32.8089)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F259E #849E25
analogous
#25479E #3F259E #7B259E
triadic
#3F259E #9E3F25 #259E3F
tetradic
#3F259E #9E2547 #849E25 #259E7B
square
#3F259E #9E2547 #849E25 #259E7B
split-complementary
#3F259E #9E7B25 #479E25
monochromatic
#170E3B #2B196C #3F259E #5331CF #7D63DA

Accessibility & contrast

On white

10.66
#3F259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F259E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F259E#FFFFFF#000000##FFFFFF
##3F259E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f259e;
/* rgb */ color: rgb(63, 37, 158);
/* oklch */ color: oklch(38.4% 0.181 283.7);
Tailwind
colors: {
  custom: {
    50: '#8063bc',
    500: '#3f259e',
    950: '#000000',
  },
}
SCSS
$custom: #3f259e;
$custom-light: #8063bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f259e",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 252.893,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38443,
    "c": 0.18142,
    "h": 283.7
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#3F259E
secondary
#ABC05F
accent
#E543C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F259E

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

Preview Lab → · Contrast checker → · Palette generator →

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