#4120BB#4120BB

#4120BB is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.1% C 0.219 H 280.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4120BB
RGBrgb(65, 32, 187)
HSLhsl(253, 71%, 43%)
HSVhsv(253, 83%, 73%)
CMYKcmyk(65.2%, 82.9%, 0%, 26.7%)
CIE-LABlab(28.76, 55.55, -74.52)
CIE-LCHlch(28.76, 92.94, 306.70°)
OKLaboklab(41.11% 0.04 -0.2151)
OKLCHoklch(41.11% 0.219 280.5)
XYZxyz(11.6633, 5.7438, 47.4981)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4120BB #9ABB20
analogous
#204DBB #4120BB #8E20BB
triadic
#4120BB #BB4120 #20BB41
tetradic
#4120BB #BB204D #9ABB20 #20BB8E
square
#4120BB #BB204D #9ABB20 #20BB8E
split-complementary
#4120BB #BB8E20 #4DBB20
monochromatic
#1D0E52 #2F1787 #4120BB #5D3BDD #886FE6

Accessibility & contrast

On white

9.77
#4120BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4120BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4120BB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4120BB#FFFFFF#000000##FFFFFF
##4120BB1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4120bb;
/* rgb */ color: rgb(65, 32, 187);
/* oklch */ color: oklch(41.1% 0.219 280.5);
Tailwind
colors: {
  custom: {
    50: '#8762d1',
    500: '#4120bb',
    950: '#000000',
  },
}
SCSS
$custom: #4120bb;
$custom-light: #8762d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4120bb",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 252.774,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41108,
    "c": 0.21876,
    "h": 280.5
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#4120BB
secondary
#B8CD6A
accent
#EE3AC7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #4120BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4120BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva