#4124B1#4124B1

#4124B1 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.204 H 281.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4124B1
RGBrgb(65, 36, 177)
HSLhsl(252, 66%, 42%)
HSVhsv(252, 80%, 69%)
CMYKcmyk(63.3%, 79.7%, 0%, 30.6%)
CIE-LABlab(28.27, 50.93, -69.37)
CIE-LCHlch(28.27, 86.06, 306.29°)
OKLaboklab(40.45% 0.0412 -0.2001)
OKLCHoklch(40.45% 0.204 281.6)
XYZxyz(10.7442, 5.5591, 42.0933)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124B1 #94B124
analogous
#244EB1 #4124B1 #8724B1
triadic
#4124B1 #B14124 #24B141
tetradic
#4124B1 #B1244E #94B124 #24B187
square
#4124B1 #B1244E #94B124 #24B187
split-complementary
#4124B1 #B18724 #4EB124
monochromatic
#1C0F4B #2E1A7E #4124B1 #5B3BD7 #866EE1

Accessibility & contrast

On white

9.94
#4124B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4124B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124B1
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124B1#FFFFFF#000000##FFFFFF
##4124B11.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4124b1;
/* rgb */ color: rgb(65, 36, 177);
/* oklch */ color: oklch(40.5% 0.204 281.6);
Tailwind
colors: {
  custom: {
    50: '#8564ca',
    500: '#4124b1',
    950: '#000000',
  },
}
SCSS
$custom: #4124b1;
$custom-light: #8564ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4124b1",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 252.34,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.20434,
    "h": 281.6
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#4124B1
secondary
#B4C869
accent
#E93FC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4124B1

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

Preview Lab → · Contrast checker → · Palette generator →

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