#4126C3#4126C3

#4126C3 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.223 H 279.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4126C3
RGBrgb(65, 38, 195)
HSLhsl(250, 67%, 46%)
HSVhsv(250, 81%, 76%)
CMYKcmyk(66.7%, 80.5%, 0%, 23.5%)
CIE-LABlab(30.52, 55.24, -76.32)
CIE-LCHlch(30.52, 94.22, 305.90°)
OKLaboklab(42.58% 0.0348 -0.2204)
OKLCHoklch(42.58% 0.223 279)
XYZxyz(12.7203, 6.4491, 52.1936)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126C3 #A8C326
analogous
#265AC3 #4126C3 #8F26C3
triadic
#4126C3 #C34126 #26C341
tetradic
#4126C3 #C3265A #A8C326 #26C38F
square
#4126C3 #C3265A #A8C326 #26C38F
split-complementary
#4126C3 #C38F26 #5AC326
monochromatic
#1F125D #301C90 #4126C3 #634ADC #907EE6

Accessibility & contrast

On white

9.17
#4126C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4126C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126C3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126C3#FFFFFF#000000##FFFFFF
##4126C31.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4126c3;
/* rgb */ color: rgb(65, 38, 195);
/* oklch */ color: oklch(42.6% 0.223 279.0);
Tailwind
colors: {
  custom: {
    50: '#8866d7',
    500: '#4126c3',
    950: '#000000',
  },
}
SCSS
$custom: #4126c3;
$custom-light: #8866d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4126c3",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 250.318,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.22314,
    "h": 279
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#4126C3
secondary
#BFCE77
accent
#EA3ECD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4126C3

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

Preview Lab → · Contrast checker → · Palette generator →

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