#3F25B3#3F25B3

#3F25B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.206 H 280.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3F25B3
RGBrgb(63, 37, 179)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 79%, 70%)
CMYKcmyk(64.8%, 79.3%, 0%, 29.8%)
CIE-LABlab(28.47, 50.84, -70.24)
CIE-LCHlch(28.47, 86.71, 305.90°)
OKLaboklab(40.61% 0.0371 -0.2028)
OKLCHoklch(40.61% 0.206 280.4)
XYZxyz(10.8456, 5.6337, 43.1550)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25B3 #99B325
analogous
#2552B3 #3F25B3 #8625B3
triadic
#3F25B3 #B33F25 #25B33F
tetradic
#3F25B3 #B32552 #99B325 #25B386
square
#3F25B3 #B32552 #99B325 #25B386
split-complementary
#3F25B3 #B38625 #52B325
monochromatic
#1B104E #2D1B80 #3F25B3 #5A3ED7 #8571E2

Accessibility & contrast

On white

9.87
#3F25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25B3
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25B3#FFFFFF#000000##FFFFFF
##3F25B31.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f25b3;
/* rgb */ color: rgb(63, 37, 179);
/* oklch */ color: oklch(40.6% 0.206 280.4);
Tailwind
colors: {
  custom: {
    50: '#8464cb',
    500: '#3f25b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f25b3;
$custom-light: #8464cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25b3",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 250.986,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.20612,
    "h": 280.4
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#3F25B3
secondary
#B7C86B
accent
#E93FCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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