#3F25A9#3F25A9

#3F25A9 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.194 H 281.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3F25A9
RGBrgb(63, 37, 169)
HSLhsl(252, 64%, 40%)
HSVhsv(252, 78%, 66%)
CMYKcmyk(62.7%, 78.1%, 0%, 33.7%)
CIE-LABlab(27.42, 47.87, -65.98)
CIE-LCHlch(27.42, 81.52, 305.96°)
OKLaboklab(39.57% 0.04 -0.1903)
OKLCHoklch(39.57% 0.194 281.9)
XYZxyz(9.8707, 5.2438, 38.0204)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25A9 #8FA925
analogous
#254DA9 #3F25A9 #8125A9
triadic
#3F25A9 #A93F25 #25A93F
tetradic
#3F25A9 #A9254D #8FA925 #25A981
square
#3F25A9 #A9254D #8FA925 #25A981
split-complementary
#3F25A9 #A98125 #4DA925
monochromatic
#1A0F45 #2C1A77 #3F25A9 #5638D3 #816ADE

Accessibility & contrast

On white

10.25
#3F25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25A9
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25A9#FFFFFF#000000##FFFFFF
##3F25A91.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f25a9;
/* rgb */ color: rgb(63, 37, 169);
/* oklch */ color: oklch(39.6% 0.194 281.9);
Tailwind
colors: {
  custom: {
    50: '#8264c4',
    500: '#3f25a9',
    950: '#000000',
  },
}
SCSS
$custom: #3f25a9;
$custom-light: #8264c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25a9",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 251.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.19448,
    "h": 281.9
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#3F25A9
secondary
#B2C465
accent
#E741C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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