#3F25AD#3F25AD

#3F25AD is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.199 H 281.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3F25AD
RGBrgb(63, 37, 173)
HSLhsl(251, 65%, 41%)
HSVhsv(251, 79%, 68%)
CMYKcmyk(63.6%, 78.6%, 0%, 32.2%)
CIE-LABlab(27.84, 49.06, -67.70)
CIE-LCHlch(27.84, 83.61, 305.93°)
OKLaboklab(39.98% 0.0388 -0.1953)
OKLCHoklch(39.98% 0.199 281.2)
XYZxyz(10.2519, 5.3963, 40.0284)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F25AD #93AD25
analogous
#254FAD #3F25AD #8325AD
triadic
#3F25AD #AD3F25 #25AD3F
tetradic
#3F25AD #AD254F #93AD25 #25AD83
square
#3F25AD #AD254F #93AD25 #25AD83
split-complementary
#3F25AD #AD8325 #4FAD25
monochromatic
#1A0F48 #2D1A7B #3F25AD #583AD5 #836DE0

Accessibility & contrast

On white

10.10
#3F25AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F25AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F25AD
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F25AD#FFFFFF#000000##FFFFFF
##3F25AD1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f25ad;
/* rgb */ color: rgb(63, 37, 173);
/* oklch */ color: oklch(40.0% 0.199 281.2);
Tailwind
colors: {
  custom: {
    50: '#8364c7',
    500: '#3f25ad',
    950: '#000000',
  },
}
SCSS
$custom: #3f25ad;
$custom-light: #8364c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f25ad",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 251.471,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.19916,
    "h": 281.2
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#3F25AD
secondary
#B4C668
accent
#E840C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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