#4122A3#4122A3

#4122A3 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.190 H 284.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4122A3
RGBrgb(65, 34, 163)
HSLhsl(254, 65%, 39%)
HSVhsv(254, 79%, 64%)
CMYKcmyk(60.1%, 79.1%, 0%, 36.1%)
CIE-LABlab(26.48, 47.79, -63.89)
CIE-LCHlch(26.48, 79.79, 306.80°)
OKLaboklab(38.77% 0.0466 -0.1841)
OKLCHoklch(38.77% 0.19 284.2)
XYZxyz(9.3608, 4.9116, 35.0980)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122A3 #84A322
analogous
#2243A3 #4122A3 #8122A3
triadic
#4122A3 #A34122 #22A341
tetradic
#4122A3 #A32243 #84A322 #22A381
square
#4122A3 #A32243 #84A322 #22A381
split-complementary
#4122A3 #A38122 #43A322
monochromatic
#190D3E #2D1770 #4122A3 #562FD4 #7F61DE

Accessibility & contrast

On white

10.59
#4122A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4122A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122A3
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122A3#FFFFFF#000000##FFFFFF
##4122A31.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4122a3;
/* rgb */ color: rgb(65, 34, 163);
/* oklch */ color: oklch(38.8% 0.190 284.2);
Tailwind
colors: {
  custom: {
    50: '#8262bf',
    500: '#4122a3',
    950: '#000000',
  },
}
SCSS
$custom: #4122a3;
$custom-light: #8262bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4122a3",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 254.419,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38772,
    "c": 0.18995,
    "h": 284.2
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#4122A3
secondary
#ABC35E
accent
#E83FC0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4122A3

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

Preview Lab → · Contrast checker → · Palette generator →

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