#4122A9#4122A9

#4122A9 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.197 H 283.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4122A9
RGBrgb(65, 34, 169)
HSLhsl(254, 67%, 40%)
HSVhsv(254, 80%, 66%)
CMYKcmyk(61.5%, 79.9%, 0%, 33.7%)
CIE-LABlab(27.11, 49.54, -66.48)
CIE-LCHlch(27.11, 82.91, 306.69°)
OKLaboklab(39.39% 0.0448 -0.1917)
OKLCHoklch(39.39% 0.197 283.1)
XYZxyz(9.9112, 5.1318, 37.9967)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122A9 #8AA922
analogous
#2246A9 #4122A9 #8522A9
triadic
#4122A9 #A94122 #22A941
tetradic
#4122A9 #A92246 #8AA922 #22A985
square
#4122A9 #A92246 #8AA922 #22A985
split-complementary
#4122A9 #A98522 #46A922
monochromatic
#1A0D43 #2D1876 #4122A9 #5832D6 #8265E0

Accessibility & contrast

On white

10.36
#4122A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4122A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122A9
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122A9#FFFFFF#000000##FFFFFF
##4122A91.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4122a9;
/* rgb */ color: rgb(65, 34, 169);
/* oklch */ color: oklch(39.4% 0.197 283.1);
Tailwind
colors: {
  custom: {
    50: '#8362c4',
    500: '#4122a9',
    950: '#000000',
  },
}
SCSS
$custom: #4122a9;
$custom-light: #8362c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4122a9",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 253.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39394,
    "c": 0.19688,
    "h": 283.1
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#4122A9
secondary
#AEC561
accent
#E93EC2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4122A9

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

Preview Lab → · Contrast checker → · Palette generator →

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