#4124AA#4124AA

#4124AA is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.196 H 282.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4124AA
RGBrgb(65, 36, 170)
HSLhsl(253, 65%, 40%)
HSVhsv(253, 79%, 67%)
CMYKcmyk(61.8%, 78.8%, 0%, 33.3%)
CIE-LABlab(27.54, 48.89, -66.38)
CIE-LCHlch(27.54, 82.44, 306.37°)
OKLaboklab(39.73% 0.0433 -0.1914)
OKLCHoklch(39.73% 0.196 282.7)
XYZxyz(10.0643, 5.2871, 38.5126)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124AA #8DAA24
analogous
#244AAA #4124AA #8424AA
triadic
#4124AA #AA4124 #24AA41
tetradic
#4124AA #AA244A #8DAA24 #24AA84
square
#4124AA #AA244A #8DAA24 #24AA84
split-complementary
#4124AA #AA8424 #4AAA24
monochromatic
#1A0F45 #2E1977 #4124AA #5937D5 #8369DF

Accessibility & contrast

On white

10.21
#4124AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4124AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4124AA#FFFFFF#000000##FFFFFF
##4124AA1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4124aa;
/* rgb */ color: rgb(65, 36, 170);
/* oklch */ color: oklch(39.7% 0.196 282.7);
Tailwind
colors: {
  custom: {
    50: '#8363c5',
    500: '#4124aa',
    950: '#000000',
  },
}
SCSS
$custom: #4124aa;
$custom-light: #8363c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4124aa",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 252.985,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.19625,
    "h": 282.7
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#4124AA
secondary
#B0C565
accent
#E840C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4124AA

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

Preview Lab → · Contrast checker → · Palette generator →

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