#4125B5#4125B5

#4125B5 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.208 H 280.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4125B5
RGBrgb(65, 37, 181)
HSLhsl(252, 66%, 43%)
HSVhsv(252, 80%, 71%)
CMYKcmyk(64.1%, 79.6%, 0%, 29%)
CIE-LABlab(28.86, 51.63, -70.79)
CIE-LCHlch(28.86, 87.62, 306.11°)
OKLaboklab(40.99% 0.0395 -0.2043)
OKLCHoklch(40.99% 0.208 280.9)
XYZxyz(11.1794, 5.7823, 44.2341)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125B5 #99B525
analogous
#2551B5 #4125B5 #8925B5
triadic
#4125B5 #B54125 #25B541
tetradic
#4125B5 #B52551 #99B525 #25B589
square
#4125B5 #B52551 #99B525 #25B589
split-complementary
#4125B5 #B58925 #51B525
monochromatic
#1D104F #2F1B82 #4125B5 #5D3FD8 #8872E2

Accessibility & contrast

On white

9.74
#4125B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4125B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125B5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125B5#FFFFFF#000000##FFFFFF
##4125B51.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4125b5;
/* rgb */ color: rgb(65, 37, 181);
/* oklch */ color: oklch(41.0% 0.208 280.9);
Tailwind
colors: {
  custom: {
    50: '#8564cd',
    500: '#4125b5',
    950: '#000000',
  },
}
SCSS
$custom: #4125b5;
$custom-light: #8564cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4125b5",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 251.667,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40986,
    "c": 0.20807,
    "h": 280.9
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#4125B5
secondary
#B7C96D
accent
#E93FC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4125B5

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

Preview Lab → · Contrast checker → · Palette generator →

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