#4122A4#4122A4

#4122A4 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.191 H 284.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4122A4
RGBrgb(65, 34, 164)
HSLhsl(254, 66%, 39%)
HSVhsv(254, 79%, 64%)
CMYKcmyk(60.4%, 79.3%, 0%, 35.7%)
CIE-LABlab(26.59, 48.08, -64.32)
CIE-LCHlch(26.59, 80.31, 306.78°)
OKLaboklab(38.88% 0.0463 -0.1854)
OKLCHoklch(38.88% 0.191 284)
XYZxyz(9.4508, 4.9476, 35.5717)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122A4 #85A422
analogous
#2244A4 #4122A4 #8222A4
triadic
#4122A4 #A44122 #22A441
tetradic
#4122A4 #A42244 #85A422 #22A482
square
#4122A4 #A42244 #85A422 #22A482
split-complementary
#4122A4 #A48222 #44A422
monochromatic
#190D3F #2D1771 #4122A4 #572FD4 #8062DE

Accessibility & contrast

On white

10.55
#4122A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4122A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122A4
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122A4#FFFFFF#000000##FFFFFF
##4122A41.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4122a4;
/* rgb */ color: rgb(65, 34, 164);
/* oklch */ color: oklch(38.9% 0.191 284.0);
Tailwind
colors: {
  custom: {
    50: '#8262c0',
    500: '#4122a4',
    950: '#000000',
  },
}
SCSS
$custom: #4122a4;
$custom-light: #8262c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4122a4",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 254.308,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.19111,
    "h": 284
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#4122A4
secondary
#ABC45E
accent
#E93FC0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4122A4

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

Preview Lab → · Contrast checker → · Palette generator →

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