#4125B4#4125B4

#4125B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.207 H 281.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4125B4
RGBrgb(65, 37, 180)
HSLhsl(252, 66%, 43%)
HSVhsv(252, 79%, 71%)
CMYKcmyk(63.9%, 79.4%, 0%, 29.4%)
CIE-LABlab(28.75, 51.34, -70.37)
CIE-LCHlch(28.75, 87.10, 306.12°)
OKLaboklab(40.88% 0.0398 -0.2031)
OKLCHoklch(40.88% 0.207 281.1)
XYZxyz(11.0772, 5.7414, 43.6956)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125B4 #98B425
analogous
#2551B4 #4125B4 #8825B4
triadic
#4125B4 #B44125 #25B441
tetradic
#4125B4 #B42551 #98B425 #25B488
square
#4125B4 #B42551 #98B425 #25B488
split-complementary
#4125B4 #B48825 #51B425
monochromatic
#1C104E #2F1B81 #4125B4 #5D3FD7 #8871E2

Accessibility & contrast

On white

9.77
#4125B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4125B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125B4
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125B4#FFFFFF#000000##FFFFFF
##4125B41.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4125b4;
/* rgb */ color: rgb(65, 37, 180);
/* oklch */ color: oklch(40.9% 0.207 281.1);
Tailwind
colors: {
  custom: {
    50: '#8564cc',
    500: '#4125b4',
    950: '#000000',
  },
}
SCSS
$custom: #4125b4;
$custom-light: #8564cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4125b4",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 251.748,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.20692,
    "h": 281.1
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4125B4

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

Preview Lab → · Contrast checker → · Palette generator →

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