#4127AA#4127AA

#4127AA is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.193 H 282.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4127AA
RGBrgb(65, 39, 170)
HSLhsl(252, 63%, 41%)
HSVhsv(252, 77%, 67%)
CMYKcmyk(61.8%, 77.1%, 0%, 33.3%)
CIE-LABlab(28.05, 47.41, -65.53)
CIE-LCHlch(28.05, 80.88, 305.89°)
OKLaboklab(40.08% 0.0414 -0.189)
OKLCHoklch(40.08% 0.193 282.4)
XYZxyz(10.1589, 5.4764, 38.5441)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4127AA #90AA27
analogous
#274FAA #4127AA #8227AA
triadic
#4127AA #AA4127 #27AA41
tetradic
#4127AA #AA274F #90AA27 #27AA82
square
#4127AA #AA274F #90AA27 #27AA82
split-complementary
#4127AA #AA8227 #4FAA27
monochromatic
#1B1046 #2E1C78 #4127AA #5A3CD2 #846EDE

Accessibility & contrast

On white

10.02
#4127AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4127AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4127AA
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4127AA#FFFFFF#000000##FFFFFF
##4127AA1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4127aa;
/* rgb */ color: rgb(65, 39, 170);
/* oklch */ color: oklch(40.1% 0.193 282.4);
Tailwind
colors: {
  custom: {
    50: '#8365c5',
    500: '#4127aa',
    950: '#000000',
  },
}
SCSS
$custom: #4127aa;
$custom-light: #8365c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4127aa",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 251.908,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.19346,
    "h": 282.4
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#4127AA
secondary
#B2C469
accent
#E642C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4127AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4127AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva