#4124A1#4124A1

#4124A1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.186 H 284.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4124A1
RGBrgb(65, 36, 161)
HSLhsl(254, 63%, 39%)
HSVhsv(254, 78%, 63%)
CMYKcmyk(59.6%, 77.6%, 0%, 36.9%)
CIE-LABlab(26.62, 46.23, -62.45)
CIE-LCHlch(26.62, 77.70, 306.51°)
OKLaboklab(38.8% 0.0459 -0.18)
OKLCHoklch(38.8% 0.186 284.3)
XYZxyz(9.2419, 4.9582, 34.1813)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A1 #84A124
analogous
#2445A1 #4124A1 #7F24A1
triadic
#4124A1 #A14124 #24A141
tetradic
#4124A1 #A12445 #84A124 #24A17F
square
#4124A1 #A12445 #84A124 #24A17F
split-complementary
#4124A1 #A17F24 #45A124
monochromatic
#190E3D #2D196F #4124A1 #5631D1 #7F63DC

Accessibility & contrast

On white

10.54
#4124A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4124A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124A1
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A1#FFFFFF#000000##FFFFFF
##4124A11.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#044861
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4124a1;
/* rgb */ color: rgb(65, 36, 161);
/* oklch */ color: oklch(38.8% 0.186 284.3);
Tailwind
colors: {
  custom: {
    50: '#8263be',
    500: '#4124a1',
    950: '#000000',
  },
}
SCSS
$custom: #4124a1;
$custom-light: #8263be;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a1",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 253.92,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.18572,
    "h": 284.3
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#4124A1
secondary
#ABC25F
accent
#E641C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4124A1

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

Preview Lab → · Contrast checker → · Palette generator →

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