#4126AF#4126AF

#4126AF is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.200 H 281.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4126AF
RGBrgb(65, 38, 175)
HSLhsl(252, 64%, 42%)
HSVhsv(252, 78%, 69%)
CMYKcmyk(62.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(28.39, 49.39, -67.97)
CIE-LCHlch(28.39, 84.02, 306.01°)
OKLaboklab(40.48% 0.0406 -0.1961)
OKLCHoklch(40.48% 0.2 281.7)
XYZxyz(10.6085, 5.6044, 41.0719)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126AF #94AF26
analogous
#2650AF #4126AF #8626AF
triadic
#4126AF #AF4126 #26AF41
tetradic
#4126AF #AF2650 #94AF26 #26AF86
square
#4126AF #AF2650 #94AF26 #26AF86
split-complementary
#4126AF #AF8626 #50AF26
monochromatic
#1C104A #2E1B7D #4126AF #5B3DD5 #8670E0

Accessibility & contrast

On white

9.90
#4126AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4126AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126AF
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126AF#FFFFFF#000000##FFFFFF
##4126AF1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4126af;
/* rgb */ color: rgb(65, 38, 175);
/* oklch */ color: oklch(40.5% 0.200 281.7);
Tailwind
colors: {
  custom: {
    50: '#8465c8',
    500: '#4126af',
    950: '#000000',
  },
}
SCSS
$custom: #4126af;
$custom-light: #8465c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4126af",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 251.825,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.20026,
    "h": 281.7
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#4126AF
secondary
#B4C76A
accent
#E740C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126AF

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

Preview Lab → · Contrast checker → · Palette generator →

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