#4122B5#4122B5

#4122B5 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.211 H 281.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4122B5
RGBrgb(65, 34, 181)
HSLhsl(253, 68%, 42%)
HSVhsv(253, 81%, 71%)
CMYKcmyk(64.1%, 81.2%, 0%, 29%)
CIE-LABlab(28.39, 52.99, -71.56)
CIE-LCHlch(28.39, 89.05, 306.52°)
OKLaboklab(40.66% 0.041 -0.2065)
OKLCHoklch(40.66% 0.211 281.2)
XYZxyz(11.0899, 5.6032, 44.2042)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122B5 #96B522
analogous
#224DB5 #4122B5 #8B22B5
triadic
#4122B5 #B54122 #22B541
tetradic
#4122B5 #B5224D #96B522 #22B58B
square
#4122B5 #B5224D #96B522 #22B58B
split-complementary
#4122B5 #B58B22 #4DB522
monochromatic
#1C0F4E #2E1881 #4122B5 #5C3ADA #876EE4

Accessibility & contrast

On white

9.90
#4122B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4122B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122B5
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122B5#FFFFFF#000000##FFFFFF
##4122B51.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#004F6D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4122b5;
/* rgb */ color: rgb(65, 34, 181);
/* oklch */ color: oklch(40.7% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#8563cd',
    500: '#4122b5',
    950: '#000000',
  },
}
SCSS
$custom: #4122b5;
$custom-light: #8563cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4122b5",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 252.653,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.21053,
    "h": 281.2
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#4122B5
secondary
#B6CA69
accent
#EB3DC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4122B5

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

Preview Lab → · Contrast checker → · Palette generator →

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