#3F25B5#3F25B5

#3F25B5 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.208 H 280.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3F25B5
RGBrgb(63, 37, 181)
HSLhsl(251, 66%, 43%)
HSVhsv(251, 80%, 71%)
CMYKcmyk(65.2%, 79.6%, 0%, 29%)
CIE-LABlab(28.68, 51.43, -71.08)
CIE-LCHlch(28.68, 87.73, 305.89°)
OKLaboklab(40.82% 0.0365 -0.2052)
OKLCHoklch(40.82% 0.208 280.1)
XYZxyz(11.0493, 5.7152, 44.2280)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25B5 #9BB525
analogous
#2553B5 #3F25B5 #8725B5
triadic
#3F25B5 #B53F25 #25B53F
tetradic
#3F25B5 #B52553 #9BB525 #25B587
square
#3F25B5 #B52553 #9BB525 #25B587
split-complementary
#3F25B5 #B58725 #53B525
monochromatic
#1C104F #2D1B82 #3F25B5 #5B3FD8 #8672E2

Accessibility & contrast

On white

9.80
#3F25B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F25B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25B5
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25B5#FFFFFF#000000##FFFFFF
##3F25B51.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f25b5;
/* rgb */ color: rgb(63, 37, 181);
/* oklch */ color: oklch(40.8% 0.208 280.1);
Tailwind
colors: {
  custom: {
    50: '#8464cd',
    500: '#3f25b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f25b5;
$custom-light: #8464cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25b5",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 250.833,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.20842,
    "h": 280.1
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#3F25B5
secondary
#B8C96D
accent
#E93FCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F25B5

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

Preview Lab → · Contrast checker → · Palette generator →

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