#4126B7#4126B7

#4126B7 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.210 H 280.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4126B7
RGBrgb(65, 38, 183)
HSLhsl(251, 66%, 43%)
HSVhsv(251, 79%, 72%)
CMYKcmyk(64.5%, 79.2%, 0%, 28.2%)
CIE-LABlab(29.23, 51.75, -71.36)
CIE-LCHlch(29.23, 88.15, 305.95°)
OKLaboklab(41.31% 0.0383 -0.206)
OKLCHoklch(41.31% 0.21 280.5)
XYZxyz(11.4176, 5.9281, 45.3331)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126B7 #9CB726
analogous
#2654B7 #4126B7 #8926B7
triadic
#4126B7 #B74126 #26B741
tetradic
#4126B7 #B72654 #9CB726 #26B789
square
#4126B7 #B72654 #9CB726 #26B789
split-complementary
#4126B7 #B78926 #54B726
monochromatic
#1D1152 #2F1B84 #4126B7 #5E42D8 #8975E2

Accessibility & contrast

On white

9.61
#4126B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4126B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126B7
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126B7#FFFFFF#000000##FFFFFF
##4126B71.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4126b7;
/* rgb */ color: rgb(65, 38, 183);
/* oklch */ color: oklch(41.3% 0.210 280.5);
Tailwind
colors: {
  custom: {
    50: '#8665ce',
    500: '#4126b7',
    950: '#000000',
  },
}
SCSS
$custom: #4126b7;
$custom-light: #8665ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4126b7",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 251.172,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.20951,
    "h": 280.5
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#4126B7
secondary
#B9CA6F
accent
#E93FC9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4126B7

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

Preview Lab → · Contrast checker → · Palette generator →

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