#3F25A3#3F25A3

#3F25A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.187 H 282.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3F25A3
RGBrgb(63, 37, 163)
HSLhsl(252, 63%, 39%)
HSVhsv(252, 77%, 64%)
CMYKcmyk(61.3%, 77.3%, 0%, 36.1%)
CIE-LABlab(26.80, 46.08, -63.37)
CIE-LCHlch(26.80, 78.35, 306.02°)
OKLaboklab(38.95% 0.0416 -0.1827)
OKLCHoklch(38.95% 0.187 282.8)
XYZxyz(9.3203, 5.0236, 35.1217)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25A3 #89A325
analogous
#254AA3 #3F25A3 #7E25A3
triadic
#3F25A3 #A33F25 #25A33F
tetradic
#3F25A3 #A3254A #89A325 #25A37E
square
#3F25A3 #A3254A #89A325 #25A37E
split-complementary
#3F25A3 #A37E25 #4AA325
monochromatic
#180E3F #2C1A71 #3F25A3 #5534D1 #7E66DC

Accessibility & contrast

On white

10.47
#3F25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25A3
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25A3#FFFFFF#000000##FFFFFF
##3F25A31.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f25a3;
/* rgb */ color: rgb(63, 37, 163);
/* oklch */ color: oklch(38.9% 0.187 282.8);
Tailwind
colors: {
  custom: {
    50: '#8163bf',
    500: '#3f25a3',
    950: '#000000',
  },
}
SCSS
$custom: #3f25a3;
$custom-light: #8163bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25a3",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 252.381,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.18739,
    "h": 282.8
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#3F25A3
secondary
#AEC262
accent
#E642C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3F25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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