#3F25AA#3F25AA

#3F25AA is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.196 H 281.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3F25AA
RGBrgb(63, 37, 170)
HSLhsl(252, 64%, 41%)
HSVhsv(252, 78%, 67%)
CMYKcmyk(62.9%, 78.2%, 0%, 33.3%)
CIE-LABlab(27.52, 48.17, -66.41)
CIE-LCHlch(27.52, 82.04, 305.96°)
OKLaboklab(39.67% 0.0397 -0.1916)
OKLCHoklch(39.67% 0.196 281.7)
XYZxyz(9.9649, 5.2814, 38.5167)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25AA #90AA25
analogous
#254EAA #3F25AA #8125AA
triadic
#3F25AA #AA3F25 #25AA3F
tetradic
#3F25AA #AA254E #90AA25 #25AA81
square
#3F25AA #AA254E #90AA25 #25AA81
split-complementary
#3F25AA #AA8125 #4EAA25
monochromatic
#1A0F45 #2C1A78 #3F25AA #5738D4 #816BDF

Accessibility & contrast

On white

10.21
#3F25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25AA
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25AA#FFFFFF#000000##FFFFFF
##3F25AA1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f25aa;
/* rgb */ color: rgb(63, 37, 170);
/* oklch */ color: oklch(39.7% 0.196 281.7);
Tailwind
colors: {
  custom: {
    50: '#8264c5',
    500: '#3f25aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f25aa;
$custom-light: #8264c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25aa",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 251.729,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.19566,
    "h": 281.7
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#3F25AA
secondary
#B2C566
accent
#E741C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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