#4122B3#4122B3

#4122B3 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.208 H 281.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4122B3
RGBrgb(65, 34, 179)
HSLhsl(253, 68%, 42%)
HSVhsv(253, 81%, 70%)
CMYKcmyk(63.7%, 81%, 0%, 29.8%)
CIE-LABlab(28.17, 52.42, -70.72)
CIE-LCHlch(28.17, 88.03, 306.55°)
OKLaboklab(40.45% 0.0417 -0.2041)
OKLCHoklch(40.45% 0.208 281.5)
XYZxyz(10.8861, 5.5217, 43.1312)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4122B3 #94B322
analogous
#224BB3 #4122B3 #8A22B3
triadic
#4122B3 #B34122 #22B341
tetradic
#4122B3 #B3224B #94B322 #22B38A
square
#4122B3 #B3224B #94B322 #22B38A
split-complementary
#4122B3 #B38A22 #4BB322
monochromatic
#1C0E4C #2E1880 #4122B3 #5B39D9 #866CE3

Accessibility & contrast

On white

9.98
#4122B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4122B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4122B3
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4122B3#FFFFFF#000000##FFFFFF
##4122B31.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4122b3;
/* rgb */ color: rgb(65, 34, 179);
/* oklch */ color: oklch(40.4% 0.208 281.5);
Tailwind
colors: {
  custom: {
    50: '#8563cb',
    500: '#4122b3',
    950: '#000000',
  },
}
SCSS
$custom: #4122b3;
$custom-light: #8563cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4122b3",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 252.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.20828,
    "h": 281.5
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#4122B3
secondary
#B4C968
accent
#EB3DC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4122B3

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

Preview Lab → · Contrast checker → · Palette generator →

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