#4122AD#4122AD

#4122AD is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.201 H 282.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4122AD
RGBrgb(65, 34, 173)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(62.4%, 80.3%, 0%, 32.2%)
CIE-LABlab(27.53, 50.69, -68.19)
CIE-LCHlch(27.53, 84.97, 306.63°)
OKLaboklab(39.81% 0.0435 -0.1967)
OKLCHoklch(39.81% 0.201 282.5)
XYZxyz(10.2925, 5.2843, 40.0047)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122AD #8EAD22
analogous
#2249AD #4122AD #8622AD
triadic
#4122AD #AD4122 #22AD41
tetradic
#4122AD #AD2249 #8EAD22 #22AD86
square
#4122AD #AD2249 #8EAD22 #22AD86
split-complementary
#4122AD #AD8622 #49AD22
monochromatic
#1B0E47 #2E187A #4122AD #5935D7 #8368E1

Accessibility & contrast

On white

10.21
#4122AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4122AD#FFFFFF#000000##FFFFFF
##4122AD1.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)
#0045B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4122ad;
/* rgb */ color: rgb(65, 34, 173);
/* oklch */ color: oklch(39.8% 0.201 282.5);
Tailwind
colors: {
  custom: {
    50: '#8462c7',
    500: '#4122ad',
    950: '#000000',
  },
}
SCSS
$custom: #4122ad;
$custom-light: #8462c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4122ad",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 253.381,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.20146,
    "h": 282.5
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4122AD

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

Preview Lab → · Contrast checker → · Palette generator →

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