#4122AF#4122AF

#4122AF is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.0% C 0.204 H 282.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4122AF
RGBrgb(65, 34, 175)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 81%, 69%)
CMYKcmyk(62.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(27.74, 51.27, -69.04)
CIE-LCHlch(27.74, 86.00, 306.60°)
OKLaboklab(40.02% 0.0429 -0.1992)
OKLCHoklch(40.02% 0.204 282.2)
XYZxyz(10.4874, 5.3623, 41.0315)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122AF #90AF22
analogous
#224AAF #4122AF #8722AF
triadic
#4122AF #AF4122 #22AF41
tetradic
#4122AF #AF224A #90AF22 #22AF87
square
#4122AF #AF224A #90AF22 #22AF87
split-complementary
#4122AF #AF8722 #4AAF22
monochromatic
#1B0E49 #2E187C #4122AF #5A36D8 #8469E2

Accessibility & contrast

On white

10.13
#4122AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4122AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122AF
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122AF#FFFFFF#000000##FFFFFF
##4122AF1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4122af;
/* rgb */ color: rgb(65, 34, 175);
/* oklch */ color: oklch(40.0% 0.204 282.2);
Tailwind
colors: {
  custom: {
    50: '#8462c8',
    500: '#4122af',
    950: '#000000',
  },
}
SCSS
$custom: #4122af;
$custom-light: #8462c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4122af",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 253.191,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.20374,
    "h": 282.2
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#4122AF
secondary
#B2C865
accent
#EA3DC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4122AF

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

Preview Lab → · Contrast checker → · Palette generator →

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