#4120A9#4120A9

#4120A9 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.199 H 283.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4120A9
RGBrgb(65, 32, 169)
HSLhsl(254, 68%, 39%)
HSVhsv(254, 81%, 66%)
CMYKcmyk(61.5%, 81.1%, 0%, 33.7%)
CIE-LABlab(26.79, 50.45, -67.00)
CIE-LCHlch(26.79, 83.87, 306.98°)
OKLaboklab(39.18% 0.0459 -0.1932)
OKLCHoklch(39.18% 0.199 283.4)
XYZxyz(9.8557, 5.0207, 37.9782)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4120A9 #88A920
analogous
#2043A9 #4120A9 #8620A9
triadic
#4120A9 #A94120 #20A941
tetradic
#4120A9 #A92043 #88A920 #20A986
square
#4120A9 #A92043 #88A920 #20A986
split-complementary
#4120A9 #A98620 #43A920
monochromatic
#190D42 #2D1676 #4120A9 #572FD8 #8162E1

Accessibility & contrast

On white

10.48
#4120A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4120A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4120A9
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4120A9#FFFFFF#000000##FFFFFF
##4120A91.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4120a9;
/* rgb */ color: rgb(65, 32, 169);
/* oklch */ color: oklch(39.2% 0.199 283.4);
Tailwind
colors: {
  custom: {
    50: '#8361c4',
    500: '#4120a9',
    950: '#000000',
  },
}
SCSS
$custom: #4120a9;
$custom-light: #8361c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4120a9",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 254.453,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.19858,
    "h": 283.4
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#4120A9
secondary
#ADC65F
accent
#EB3DC1
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #4120A9

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

Preview Lab → · Contrast checker → · Palette generator →

#4120A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva