#4126A7#4126A7

#4126A7 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.191 H 283.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4126A7
RGBrgb(65, 38, 167)
HSLhsl(253, 63%, 40%)
HSVhsv(253, 77%, 65%)
CMYKcmyk(61.1%, 77.2%, 0%, 34.5%)
CIE-LABlab(27.57, 47.02, -64.51)
CIE-LCHlch(27.57, 79.83, 306.08°)
OKLaboklab(39.66% 0.0429 -0.186)
OKLCHoklch(39.66% 0.191 283)
XYZxyz(9.8460, 5.2994, 37.0558)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126A7 #8CA726
analogous
#264CA7 #4126A7 #8126A7
triadic
#4126A7 #A74126 #26A741
tetradic
#4126A7 #A7264C #8CA726 #26A781
square
#4126A7 #A7264C #8CA726 #26A781
split-complementary
#4126A7 #A78126 #4CA726
monochromatic
#1A0F43 #2E1B75 #4126A7 #5938D2 #826ADD

Accessibility & contrast

On white

10.19
#4126A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4126A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126A7
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126A7#FFFFFF#000000##FFFFFF
##4126A71.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4126a7;
/* rgb */ color: rgb(65, 38, 167);
/* oklch */ color: oklch(39.7% 0.191 283.0);
Tailwind
colors: {
  custom: {
    50: '#8264c2',
    500: '#4126a7',
    950: '#000000',
  },
}
SCSS
$custom: #4126a7;
$custom-light: #8264c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4126a7",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 252.558,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.19088,
    "h": 283
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#4126A7
secondary
#B0C365
accent
#E642C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126A7

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

Preview Lab → · Contrast checker → · Palette generator →

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