#3F25A6#3F25A6

#3F25A6 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.191 H 282.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3F25A6
RGBrgb(63, 37, 166)
HSLhsl(252, 64%, 40%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(62%, 77.7%, 0%, 34.9%)
CIE-LABlab(27.11, 46.98, -64.68)
CIE-LCHlch(27.11, 79.94, 305.99°)
OKLaboklab(39.26% 0.0408 -0.1865)
OKLCHoklch(39.26% 0.191 282.3)
XYZxyz(9.5923, 5.1324, 36.5542)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25A6 #8CA625
analogous
#254CA6 #3F25A6 #8025A6
triadic
#3F25A6 #A63F25 #25A63F
tetradic
#3F25A6 #A6254C #8CA625 #25A680
square
#3F25A6 #A6254C #8CA625 #25A680
split-complementary
#3F25A6 #A68025 #4CA625
monochromatic
#190F42 #2C1A74 #3F25A6 #5536D2 #8068DD

Accessibility & contrast

On white

10.36
#3F25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F25A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25A6
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25A6#FFFFFF#000000##FFFFFF
##3F25A61.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f25a6;
/* rgb */ color: rgb(63, 37, 166);
/* oklch */ color: oklch(39.3% 0.191 282.3);
Tailwind
colors: {
  custom: {
    50: '#8163c2',
    500: '#3f25a6',
    950: '#000000',
  },
}
SCSS
$custom: #3f25a6;
$custom-light: #8163c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25a6",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 252.093,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.19094,
    "h": 282.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#3F25A6
secondary
#B0C364
accent
#E741C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3F25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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