#4126B3#4126B3

#4126B3 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 40.9% C 0.205 H 281.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4126B3
RGBrgb(65, 38, 179)
HSLhsl(251, 65%, 43%)
HSVhsv(251, 79%, 70%)
CMYKcmyk(63.7%, 78.8%, 0%, 29.8%)
CIE-LABlab(28.81, 50.57, -69.67)
CIE-LCHlch(28.81, 86.09, 305.98°)
OKLaboklab(40.89% 0.0395 -0.2011)
OKLCHoklch(40.89% 0.205 281.1)
XYZxyz(11.0072, 5.7639, 43.1716)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126B3 #98B326
analogous
#2652B3 #4126B3 #8726B3
triadic
#4126B3 #B34126 #26B341
tetradic
#4126B3 #B32652 #98B326 #26B387
square
#4126B3 #B32652 #98B326 #26B387
split-complementary
#4126B3 #B38726 #52B326
monochromatic
#1C114E #2F1B81 #4126B3 #5D40D6 #8872E1

Accessibility & contrast

On white

9.75
#4126B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4126B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126B3
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126B3#FFFFFF#000000##FFFFFF
##4126B31.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4126b3;
/* rgb */ color: rgb(65, 38, 179);
/* oklch */ color: oklch(40.9% 0.205 281.1);
Tailwind
colors: {
  custom: {
    50: '#8565cb',
    500: '#4126b3',
    950: '#000000',
  },
}
SCSS
$custom: #4126b3;
$custom-light: #8565cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4126b3",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 251.489,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.2049,
    "h": 281.1
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#4126B3
secondary
#B7C86D
accent
#E840C8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126B3

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

Preview Lab → · Contrast checker → · Palette generator →

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