#3F25A2#3F25A2

#3F25A2 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.186 H 283.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3F25A2
RGBrgb(63, 37, 162)
HSLhsl(252, 63%, 39%)
HSVhsv(252, 77%, 64%)
CMYKcmyk(61.1%, 77.2%, 0%, 36.5%)
CIE-LABlab(26.70, 45.78, -62.93)
CIE-LCHlch(26.70, 77.82, 306.03°)
OKLaboklab(38.85% 0.0419 -0.1814)
OKLCHoklch(38.85% 0.186 283)
XYZxyz(9.2310, 4.9879, 34.6517)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25A2 #88A225
analogous
#254AA2 #3F25A2 #7E25A2
triadic
#3F25A2 #A23F25 #25A23F
tetradic
#3F25A2 #A2254A #88A225 #25A27E
square
#3F25A2 #A2254A #88A225 #25A27E
split-complementary
#3F25A2 #A27E25 #4AA225
monochromatic
#180E3E #2C1A70 #3F25A2 #5434D1 #7E65DC

Accessibility & contrast

On white

10.51
#3F25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25A2
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25A2#FFFFFF#000000##FFFFFF
##3F25A21.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f25a2;
/* rgb */ color: rgb(63, 37, 162);
/* oklch */ color: oklch(38.8% 0.186 283.0);
Tailwind
colors: {
  custom: {
    50: '#8163bf',
    500: '#3f25a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f25a2;
$custom-light: #8163bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25a2",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 252.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.1862,
    "h": 283
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#3F25A2
secondary
#AEC261
accent
#E642C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3F25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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