#3F25A4#3F25A4

#3F25A4 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.189 H 282.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3F25A4
RGBrgb(63, 37, 164)
HSLhsl(252, 63%, 39%)
HSVhsv(252, 77%, 64%)
CMYKcmyk(61.6%, 77.4%, 0%, 35.7%)
CIE-LABlab(26.90, 46.38, -63.80)
CIE-LCHlch(26.90, 78.88, 306.01°)
OKLaboklab(39.05% 0.0414 -0.184)
OKLCHoklch(39.05% 0.189 282.7)
XYZxyz(9.4102, 5.0596, 35.5955)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25A4 #8AA425
analogous
#254BA4 #3F25A4 #7E25A4
triadic
#3F25A4 #A43F25 #25A43F
tetradic
#3F25A4 #A4254B #8AA425 #25A47E
square
#3F25A4 #A4254B #8AA425 #25A47E
split-complementary
#3F25A4 #A47E25 #4BA425
monochromatic
#190E40 #2C1A72 #3F25A4 #5535D1 #7F67DD

Accessibility & contrast

On white

10.44
#3F25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25A4
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25A4#FFFFFF#000000##FFFFFF
##3F25A41.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f25a4;
/* rgb */ color: rgb(63, 37, 164);
/* oklch */ color: oklch(39.1% 0.189 282.7);
Tailwind
colors: {
  custom: {
    50: '#8163c0',
    500: '#3f25a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f25a4;
$custom-light: #8163c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25a4",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 252.283,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39051,
    "c": 0.18858,
    "h": 282.7
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#3F25A4
secondary
#AFC262
accent
#E642C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3F25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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