#4128B6#4128B6

#4128B6 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.207 H 280.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4128B6
RGBrgb(65, 40, 182)
HSLhsl(251, 64%, 44%)
HSVhsv(251, 78%, 71%)
CMYKcmyk(64.3%, 78%, 0%, 28.6%)
CIE-LABlab(29.46, 50.50, -70.39)
CIE-LCHlch(29.46, 86.63, 305.65°)
OKLaboklab(41.44% 0.0375 -0.2032)
OKLCHoklch(41.44% 0.207 280.5)
XYZxyz(11.3796, 6.0179, 44.8088)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4128B6 #9DB628
analogous
#2856B6 #4128B6 #8828B6
triadic
#4128B6 #B64128 #28B641
tetradic
#4128B6 #B62856 #9DB628 #28B688
square
#4128B6 #B62856 #9DB628 #28B688
split-complementary
#4128B6 #B68828 #56B628
monochromatic
#1D1252 #2F1D84 #4128B6 #5F45D6 #8A77E1

Accessibility & contrast

On white

9.53
#4128B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4128B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4128B6
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4128B6#FFFFFF#000000##FFFFFF
##4128B61.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4128b6;
/* rgb */ color: rgb(65, 40, 182);
/* oklch */ color: oklch(41.4% 0.207 280.5);
Tailwind
colors: {
  custom: {
    50: '#8566cd',
    500: '#4128b6',
    950: '#000000',
  },
}
SCSS
$custom: #4128b6;
$custom-light: #8566cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4128b6",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 250.563,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.2066,
    "h": 280.5
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#4128B6
secondary
#B9C971
accent
#E741CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4128B6

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

Preview Lab → · Contrast checker → · Palette generator →

#4128B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva