#4122A2#4122A2

#4122A2 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.189 H 284.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#4122A2
RGBrgb(65, 34, 162)
HSLhsl(255, 65%, 38%)
HSVhsv(255, 79%, 64%)
CMYKcmyk(59.9%, 79%, 0%, 36.5%)
CIE-LABlab(26.38, 47.50, -63.45)
CIE-LCHlch(26.38, 79.26, 306.82°)
OKLaboklab(38.67% 0.0469 -0.1829)
OKLCHoklch(38.67% 0.189 284.4)
XYZxyz(9.2716, 4.8759, 34.6280)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122A2 #83A222
analogous
#2243A2 #4122A2 #8122A2
triadic
#4122A2 #A24122 #22A241
tetradic
#4122A2 #A22243 #83A222 #22A281
square
#4122A2 #A22243 #83A222 #22A281
split-complementary
#4122A2 #A28122 #43A222
monochromatic
#180D3D #2D176F #4122A2 #562ED3 #7F61DE

Accessibility & contrast

On white

10.63
#4122A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4122A2
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122A2#FFFFFF#000000##FFFFFF
##4122A21.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#024862
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4122a2;
/* rgb */ color: rgb(65, 34, 162);
/* oklch */ color: oklch(38.7% 0.189 284.4);
Tailwind
colors: {
  custom: {
    50: '#8262bf',
    500: '#4122a2',
    950: '#000000',
  },
}
SCSS
$custom: #4122a2;
$custom-light: #8262bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4122a2",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 254.531,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.18878,
    "h": 284.4
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#4122A2
secondary
#AAC35D
accent
#E840BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4122A2

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

Preview Lab → · Contrast checker → · Palette generator →

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