#4124B4#4124B4

#4124B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.208 H 281.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4124B4
RGBrgb(65, 36, 180)
HSLhsl(252, 67%, 42%)
HSVhsv(252, 80%, 71%)
CMYKcmyk(63.9%, 80%, 0%, 29.4%)
CIE-LABlab(28.59, 51.81, -70.63)
CIE-LCHlch(28.59, 87.59, 306.26°)
OKLaboklab(40.77% 0.0403 -0.2038)
OKLCHoklch(40.77% 0.208 281.2)
XYZxyz(11.0465, 5.6800, 43.6854)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124B4 #97B424
analogous
#244FB4 #4124B4 #8924B4
triadic
#4124B4 #B44124 #24B441
tetradic
#4124B4 #B4244F #97B424 #24B489
square
#4124B4 #B4244F #97B424 #24B489
split-complementary
#4124B4 #B48924 #4FB424
monochromatic
#1C104E #2F1A81 #4124B4 #5C3DD8 #8770E2

Accessibility & contrast

On white

9.83
#4124B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4124B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124B4
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124B4#FFFFFF#000000##FFFFFF
##4124B41.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4124b4;
/* rgb */ color: rgb(65, 36, 180);
/* oklch */ color: oklch(40.8% 0.208 281.2);
Tailwind
colors: {
  custom: {
    50: '#8564cc',
    500: '#4124b4',
    950: '#000000',
  },
}
SCSS
$custom: #4124b4;
$custom-light: #8564cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4124b4",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 252.083,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.20777,
    "h": 281.2
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#4124B4
secondary
#B6C96B
accent
#EA3EC7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4124B4

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

Preview Lab → · Contrast checker → · Palette generator →

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