#4124AE#4124AE

#4124AE is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.201 H 282.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4124AE
RGBrgb(65, 36, 174)
HSLhsl(253, 66%, 41%)
HSVhsv(253, 79%, 68%)
CMYKcmyk(62.6%, 79.3%, 0%, 31.8%)
CIE-LABlab(27.96, 50.06, -68.09)
CIE-LCHlch(27.96, 84.51, 306.32°)
OKLaboklab(40.14% 0.0421 -0.1964)
OKLCHoklch(40.14% 0.201 282.1)
XYZxyz(10.4484, 5.4408, 40.5358)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124AE #91AE24
analogous
#244CAE #4124AE #8624AE
triadic
#4124AE #AE4124 #24AE41
tetradic
#4124AE #AE244C #91AE24 #24AE86
square
#4124AE #AE244C #91AE24 #24AE86
split-complementary
#4124AE #AE8624 #4CAE24
monochromatic
#1B0F49 #2E1A7B #4124AE #5A39D6 #846CE1

Accessibility & contrast

On white

10.06
#4124AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4124AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124AE
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124AE#FFFFFF#000000##FFFFFF
##4124AE1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4124ae;
/* rgb */ color: rgb(65, 36, 174);
/* oklch */ color: oklch(40.1% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#8463c7',
    500: '#4124ae',
    950: '#000000',
  },
}
SCSS
$custom: #4124ae;
$custom-light: #8463c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4124ae",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 252.609,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4014,
    "c": 0.20088,
    "h": 282.1
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#4124AE
secondary
#B3C767
accent
#E93FC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4124AE

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

Preview Lab → · Contrast checker → · Palette generator →

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