#4122AE#4122AE

#4122AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.203 H 282.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4122AE
RGBrgb(65, 34, 174)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(62.6%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.64, 50.98, -68.62)
CIE-LCHlch(27.64, 85.49, 306.61°)
OKLaboklab(39.92% 0.0432 -0.1979)
OKLCHoklch(39.92% 0.203 282.3)
XYZxyz(10.3896, 5.3231, 40.5162)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122AE #8FAE22
analogous
#2249AE #4122AE #8722AE
triadic
#4122AE #AE4122 #22AE41
tetradic
#4122AE #AE2249 #8FAE22 #22AE87
square
#4122AE #AE2249 #8FAE22 #22AE87
split-complementary
#4122AE #AE8722 #49AE22
monochromatic
#1B0E48 #2E187B #4122AE #5936D8 #8469E2

Accessibility & contrast

On white

10.17
#4122AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4122AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122AE
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122AE#FFFFFF#000000##FFFFFF
##4122AE1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4122ae;
/* rgb */ color: rgb(65, 34, 174);
/* oklch */ color: oklch(39.9% 0.203 282.3);
Tailwind
colors: {
  custom: {
    50: '#8462c7',
    500: '#4122ae',
    950: '#000000',
  },
}
SCSS
$custom: #4122ae;
$custom-light: #8462c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4122ae",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 253.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.20259,
    "h": 282.3
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#4122AE
secondary
#B1C764
accent
#EA3EC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4122AE

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

Preview Lab → · Contrast checker → · Palette generator →

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