#4124B9#4124B9

#4124B9 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.213 H 280.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4124B9
RGBrgb(65, 36, 185)
HSLhsl(252, 67%, 43%)
HSVhsv(252, 81%, 73%)
CMYKcmyk(64.9%, 80.5%, 0%, 27.5%)
CIE-LABlab(29.13, 53.25, -72.72)
CIE-LCHlch(29.13, 90.13, 306.22°)
OKLaboklab(41.3% 0.0388 -0.2099)
OKLCHoklch(41.3% 0.213 280.5)
XYZxyz(11.5650, 5.8874, 46.4165)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124B9 #9CB924
analogous
#2451B9 #4124B9 #8B24B9
triadic
#4124B9 #B94124 #24B941
tetradic
#4124B9 #B92451 #9CB924 #24B98B
square
#4124B9 #B92451 #9CB924 #24B98B
split-complementary
#4124B9 #B98B24 #51B924
monochromatic
#1D1053 #2F1A86 #4124B9 #5E40DA #8974E4

Accessibility & contrast

On white

9.64
#4124B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4124B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124B9
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124B9#FFFFFF#000000##FFFFFF
##4124B91.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4124b9;
/* rgb */ color: rgb(65, 36, 185);
/* oklch */ color: oklch(41.3% 0.213 280.5);
Tailwind
colors: {
  custom: {
    50: '#8664cf',
    500: '#4124b9',
    950: '#000000',
  },
}
SCSS
$custom: #4124b9;
$custom-light: #8664cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4124b9",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 185
  },
  "hsl": {
    "h": 251.678,
    "s": 67.421,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.21345,
    "h": 280.5
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#4124B9
secondary
#B9CB6E
accent
#EA3DC9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4124B9

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

Preview Lab → · Contrast checker → · Palette generator →

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