#4128A3#4128A3

#4128A3 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.184 H 283.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4128A3
RGBrgb(65, 40, 163)
HSLhsl(252, 61%, 40%)
HSVhsv(252, 75%, 64%)
CMYKcmyk(60.1%, 75.5%, 0%, 36.1%)
CIE-LABlab(27.53, 44.79, -62.16)
CIE-LCHlch(27.53, 76.61, 305.78°)
OKLaboklab(39.51% 0.0425 -0.1791)
OKLCHoklch(39.51% 0.184 283.4)
XYZxyz(9.5476, 5.2851, 35.1602)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4128A3 #8AA328
analogous
#284DA3 #4128A3 #7E28A3
triadic
#4128A3 #A34128 #28A341
tetradic
#4128A3 #A3284D #8AA328 #28A37E
square
#4128A3 #A3284D #8AA328 #28A37E
split-complementary
#4128A3 #A37E28 #4DA328
monochromatic
#1A1041 #2D1C72 #4128A3 #583ACF #826BDB

Accessibility & contrast

On white

10.21
#4128A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4128A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4128A3
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4128A3#FFFFFF#000000##FFFFFF
##4128A31.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4128a3;
/* rgb */ color: rgb(65, 40, 163);
/* oklch */ color: oklch(39.5% 0.184 283.4);
Tailwind
colors: {
  custom: {
    50: '#8265bf',
    500: '#4128a3',
    950: '#000000',
  },
}
SCSS
$custom: #4128a3;
$custom-light: #8265bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4128a3",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 252.195,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.18412,
    "h": 283.4
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#4128A3
secondary
#AEC166
accent
#E444C3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4128A3

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

Preview Lab → · Contrast checker → · Palette generator →

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