#4124BB#4124BB

#4124BB is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.216 H 280.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4124BB
RGBrgb(65, 36, 187)
HSLhsl(252, 68%, 44%)
HSVhsv(252, 81%, 73%)
CMYKcmyk(65.2%, 80.7%, 0%, 26.7%)
CIE-LABlab(29.34, 53.83, -73.55)
CIE-LCHlch(29.34, 91.14, 306.20°)
OKLaboklab(41.51% 0.0382 -0.2123)
OKLCHoklch(41.51% 0.216 280.2)
XYZxyz(11.7776, 5.9725, 47.5362)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124BB #9EBB24
analogous
#2452BB #4124BB #8C24BB
triadic
#4124BB #BB4124 #24BB41
tetradic
#4124BB #BB2452 #9EBB24 #24BB8C
square
#4124BB #BB2452 #9EBB24 #24BB8C
split-complementary
#4124BB #BB8C24 #52BB24
monochromatic
#1D1054 #2F1A88 #4124BB #5F42DB #8A75E4

Accessibility & contrast

On white

9.57
#4124BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4124BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124BB
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124BB#FFFFFF#000000##FFFFFF
##4124BB1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABF
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4124bb;
/* rgb */ color: rgb(65, 36, 187);
/* oklch */ color: oklch(41.5% 0.216 280.2);
Tailwind
colors: {
  custom: {
    50: '#8664d1',
    500: '#4124bb',
    950: '#000000',
  },
}
SCSS
$custom: #4124bb;
$custom-light: #8664d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4124bb",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 251.523,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.21571,
    "h": 280.2
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#4124BB
secondary
#BACC6F
accent
#EB3DC9
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4124BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4124BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva