#3F25AC#3F25AC

#3F25AC is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.198 H 281.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3F25AC
RGBrgb(63, 37, 172)
HSLhsl(252, 65%, 41%)
HSVhsv(252, 78%, 67%)
CMYKcmyk(63.4%, 78.5%, 0%, 32.5%)
CIE-LABlab(27.73, 48.77, -67.27)
CIE-LCHlch(27.73, 83.09, 305.94°)
OKLaboklab(39.88% 0.0391 -0.1941)
OKLCHoklch(39.88% 0.198 281.4)
XYZxyz(10.1555, 5.3577, 39.5207)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25AC #92AC25
analogous
#254EAC #3F25AC #8225AC
triadic
#3F25AC #AC3F25 #25AC3F
tetradic
#3F25AC #AC254E #92AC25 #25AC82
square
#3F25AC #AC254E #92AC25 #25AC82
split-complementary
#3F25AC #AC8225 #4EAC25
monochromatic
#1A0F47 #2D1A7A #3F25AC #573AD5 #826CDF

Accessibility & contrast

On white

10.14
#3F25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25AC
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25AC#FFFFFF#000000##FFFFFF
##3F25AC1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f25ac;
/* rgb */ color: rgb(63, 37, 172);
/* oklch */ color: oklch(39.9% 0.198 281.4);
Tailwind
colors: {
  custom: {
    50: '#8364c6',
    500: '#3f25ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f25ac;
$custom-light: #8364c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25ac",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 251.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.19799,
    "h": 281.4
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#3F25AC
secondary
#B3C667
accent
#E840C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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