#4120AE#4120AE

#4120AE is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.204 H 282.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4120AE
RGBrgb(65, 32, 174)
HSLhsl(254, 69%, 40%)
HSVhsv(254, 82%, 68%)
CMYKcmyk(62.6%, 81.6%, 0%, 31.8%)
CIE-LABlab(27.33, 51.87, -69.12)
CIE-LCHlch(27.33, 86.42, 306.89°)
OKLaboklab(39.71% 0.0443 -0.1994)
OKLCHoklch(39.71% 0.204 282.5)
XYZxyz(10.3341, 5.2121, 40.4977)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4120AE #8DAE20
analogous
#2046AE #4120AE #8820AE
triadic
#4120AE #AE4120 #20AE41
tetradic
#4120AE #AE2046 #8DAE20 #20AE88
square
#4120AE #AE2046 #8DAE20 #20AE88
split-complementary
#4120AE #AE8820 #46AE20
monochromatic
#1A0D47 #2E167A #4120AE #5932D9 #8366E3

Accessibility & contrast

On white

10.28
#4120AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4120AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4120AE
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4120AE#FFFFFF#000000##FFFFFF
##4120AE1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4120ae;
/* rgb */ color: rgb(65, 32, 174);
/* oklch */ color: oklch(39.7% 0.204 282.5);
Tailwind
colors: {
  custom: {
    50: '#8461c7',
    500: '#4120ae',
    950: '#000000',
  },
}
SCSS
$custom: #4120ae;
$custom-light: #8461c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4120ae",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 253.944,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.20424,
    "h": 282.5
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#4120AE
secondary
#B0C862
accent
#EC3CC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4120AE

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

Preview Lab → · Contrast checker → · Palette generator →

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