#3F25B2#3F25B2

#3F25B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.205 H 280.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3F25B2
RGBrgb(63, 37, 178)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 79%, 70%)
CMYKcmyk(64.6%, 79.2%, 0%, 30.2%)
CIE-LABlab(28.36, 50.55, -69.82)
CIE-LCHlch(28.36, 86.19, 305.90°)
OKLaboklab(40.5% 0.0374 -0.2015)
OKLCHoklch(40.5% 0.205 280.5)
XYZxyz(10.7448, 5.5934, 42.6243)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25B2 #98B225
analogous
#2552B2 #3F25B2 #8625B2
triadic
#3F25B2 #B23F25 #25B23F
tetradic
#3F25B2 #B22552 #98B225 #25B286
square
#3F25B2 #B22552 #98B225 #25B286
split-complementary
#3F25B2 #B28625 #52B225
monochromatic
#1B104D #2D1A7F #3F25B2 #5A3DD7 #8570E1

Accessibility & contrast

On white

9.91
#3F25B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F25B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25B2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25B2#FFFFFF#000000##FFFFFF
##3F25B21.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f25b2;
/* rgb */ color: rgb(63, 37, 178);
/* oklch */ color: oklch(40.5% 0.205 280.5);
Tailwind
colors: {
  custom: {
    50: '#8464ca',
    500: '#3f25b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f25b2;
$custom-light: #8464ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25b2",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 251.064,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.20496,
    "h": 280.5
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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