#4128B3#4128B3

#4128B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.1% C 0.203 H 280.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4128B3
RGBrgb(65, 40, 179)
HSLhsl(251, 63%, 43%)
HSVhsv(251, 78%, 70%)
CMYKcmyk(63.7%, 77.7%, 0%, 29.8%)
CIE-LABlab(29.15, 49.60, -69.12)
CIE-LCHlch(29.15, 85.07, 305.67°)
OKLaboklab(41.13% 0.0383 -0.1994)
OKLCHoklch(41.13% 0.203 280.9)
XYZxyz(11.0729, 5.8952, 43.1935)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4128B3 #9AB328
analogous
#2855B3 #4128B3 #8628B3
triadic
#4128B3 #B34128 #28B341
tetradic
#4128B3 #B32855 #9AB328 #28B386
square
#4128B3 #B32855 #9AB328 #28B386
split-complementary
#4128B3 #B38628 #55B328
monochromatic
#1D124F #2F1D81 #4128B3 #5D43D5 #8875E0

Accessibility & contrast

On white

9.64
#4128B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4128B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4128B3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4128B3#FFFFFF#000000##FFFFFF
##4128B31.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4128b3;
/* rgb */ color: rgb(65, 40, 179);
/* oklch */ color: oklch(41.1% 0.203 280.9);
Tailwind
colors: {
  custom: {
    50: '#8566cb',
    500: '#4128b3',
    950: '#000000',
  },
}
SCSS
$custom: #4128b3;
$custom-light: #8566cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4128b3",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 250.791,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.2031,
    "h": 280.9
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#4128B3
secondary
#B8C86F
accent
#E641C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4128B3

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

Preview Lab → · Contrast checker → · Palette generator →

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