#4126AD#4126AD

#4126AD is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.198 H 282.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4126AD
RGBrgb(65, 38, 173)
HSLhsl(252, 64%, 41%)
HSVhsv(252, 78%, 68%)
CMYKcmyk(62.4%, 78%, 0%, 32.2%)
CIE-LABlab(28.18, 48.80, -67.11)
CIE-LCHlch(28.18, 82.98, 306.02°)
OKLaboklab(40.27% 0.0412 -0.1936)
OKLCHoklch(40.27% 0.198 282)
XYZxyz(10.4136, 5.5264, 40.0450)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126AD #92AD26
analogous
#264FAD #4126AD #8526AD
triadic
#4126AD #AD4126 #26AD41
tetradic
#4126AD #AD264F #92AD26 #26AD85
square
#4126AD #AD264F #92AD26 #26AD85
split-complementary
#4126AD #AD8526 #4FAD26
monochromatic
#1B1049 #2E1B7B #4126AD #5A3CD4 #856EDF

Accessibility & contrast

On white

9.97
#4126AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4126AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126AD
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126AD#FFFFFF#000000##FFFFFF
##4126AD1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4126ad;
/* rgb */ color: rgb(65, 38, 173);
/* oklch */ color: oklch(40.3% 0.198 282.0);
Tailwind
colors: {
  custom: {
    50: '#8464c7',
    500: '#4126ad',
    950: '#000000',
  },
}
SCSS
$custom: #4126ad;
$custom-light: #8464c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4126ad",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 252,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.19793,
    "h": 282
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#4126AD
secondary
#B3C669
accent
#E741C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4126AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva