#4125AE#4125AE

#4125AE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.200 H 282.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4125AE
RGBrgb(65, 37, 174)
HSLhsl(252, 65%, 41%)
HSVhsv(252, 79%, 68%)
CMYKcmyk(62.6%, 78.7%, 0%, 31.8%)
CIE-LABlab(28.12, 49.58, -67.82)
CIE-LCHlch(28.12, 84.01, 306.17°)
OKLaboklab(40.26% 0.0415 -0.1956)
OKLCHoklch(40.26% 0.2 282)
XYZxyz(10.4791, 5.5022, 40.5460)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125AE #92AE25
analogous
#254EAE #4125AE #8625AE
triadic
#4125AE #AE4125 #25AE41
tetradic
#4125AE #AE254E #92AE25 #25AE86
square
#4125AE #AE254E #92AE25 #25AE86
split-complementary
#4125AE #AE8625 #4EAE25
monochromatic
#1B1049 #2E1A7C #4125AE #5A3BD5 #856DE0

Accessibility & contrast

On white

10.00
#4125AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4125AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125AE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125AE#FFFFFF#000000##FFFFFF
##4125AE1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4125ae;
/* rgb */ color: rgb(65, 37, 174);
/* oklch */ color: oklch(40.3% 0.200 282.0);
Tailwind
colors: {
  custom: {
    50: '#8464c7',
    500: '#4125ae',
    950: '#000000',
  },
}
SCSS
$custom: #4125ae;
$custom-light: #8464c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4125ae",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 252.263,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.2,
    "h": 282
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#4125AE
secondary
#B3C668
accent
#E840C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4125AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4125AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva