#4120AD#4120AD

#4120AD is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.6% C 0.203 H 282.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4120AD
RGBrgb(65, 32, 173)
HSLhsl(254, 69%, 40%)
HSVhsv(254, 82%, 68%)
CMYKcmyk(62.4%, 81.5%, 0%, 32.2%)
CIE-LABlab(27.22, 51.59, -68.70)
CIE-LCHlch(27.22, 85.91, 306.90°)
OKLaboklab(39.6% 0.0446 -0.1981)
OKLCHoklch(39.6% 0.203 282.7)
XYZxyz(10.2370, 5.1732, 39.9861)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4120AD #8CAD20
analogous
#2045AD #4120AD #8820AD
triadic
#4120AD #AD4120 #20AD41
tetradic
#4120AD #AD2045 #8CAD20 #20AD88
square
#4120AD #AD2045 #8CAD20 #20AD88
split-complementary
#4120AD #AD8820 #45AD20
monochromatic
#1A0D46 #2E1679 #4120AD #5931D9 #8265E2

Accessibility & contrast

On white

10.32
#4120AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4120AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4120AD
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4120AD#FFFFFF#000000##FFFFFF
##4120AD1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4120ad;
/* rgb */ color: rgb(65, 32, 173);
/* oklch */ color: oklch(39.6% 0.203 282.7);
Tailwind
colors: {
  custom: {
    50: '#8461c7',
    500: '#4120ad',
    950: '#000000',
  },
}
SCSS
$custom: #4120ad;
$custom-light: #8461c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4120ad",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 254.043,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.396,
    "c": 0.20311,
    "h": 282.7
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#4120AD
secondary
#B0C861
accent
#EC3CC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4120AD

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

Preview Lab → · Contrast checker → · Palette generator →

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