#4125B7#4125B7

#4125B7 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.210 H 280.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4125B7
RGBrgb(65, 37, 183)
HSLhsl(252, 66%, 43%)
HSVhsv(252, 80%, 72%)
CMYKcmyk(64.5%, 79.8%, 0%, 28.2%)
CIE-LABlab(29.07, 52.22, -71.62)
CIE-LCHlch(29.07, 88.64, 306.09°)
OKLaboklab(41.2% 0.0389 -0.2067)
OKLCHoklch(41.2% 0.21 280.6)
XYZxyz(11.3861, 5.8650, 45.3226)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125B7 #9BB725
analogous
#2552B7 #4125B7 #8A25B7
triadic
#4125B7 #B74125 #25B741
tetradic
#4125B7 #B72552 #9BB725 #25B78A
square
#4125B7 #B72552 #9BB725 #25B78A
split-complementary
#4125B7 #B78A25 #52B725
monochromatic
#1D1051 #2F1B84 #4125B7 #5E41D9 #8974E3

Accessibility & contrast

On white

9.66
#4125B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4125B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125B7
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125B7#FFFFFF#000000##FFFFFF
##4125B71.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4125b7;
/* rgb */ color: rgb(65, 37, 183);
/* oklch */ color: oklch(41.2% 0.210 280.6);
Tailwind
colors: {
  custom: {
    50: '#8665ce',
    500: '#4125b7',
    950: '#000000',
  },
}
SCSS
$custom: #4125b7;
$custom-light: #8665ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4125b7",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 251.507,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.21035,
    "h": 280.6
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#4125B7
secondary
#B8CA6E
accent
#E93FC9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4125B7

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

Preview Lab → · Contrast checker → · Palette generator →

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