#4120A5#4120A5

#4120A5 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.194 H 284.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4120A5
RGBrgb(65, 32, 165)
HSLhsl(255, 68%, 39%)
HSVhsv(255, 81%, 65%)
CMYKcmyk(60.6%, 80.6%, 0%, 35.3%)
CIE-LABlab(26.37, 49.30, -65.29)
CIE-LCHlch(26.37, 81.81, 307.06°)
OKLaboklab(38.76% 0.0472 -0.1882)
OKLCHoklch(38.76% 0.194 284.1)
XYZxyz(9.4859, 4.8728, 36.0307)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4120A5 #84A520
analogous
#2041A5 #4120A5 #8320A5
triadic
#4120A5 #A54120 #20A541
tetradic
#4120A5 #A52041 #84A520 #20A583
square
#4120A5 #A52041 #84A520 #20A583
split-complementary
#4120A5 #A58320 #41A520
monochromatic
#190C3E #2D1672 #4120A5 #562CD6 #7F5FE0

Accessibility & contrast

On white

10.64
#4120A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4120A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4120A5
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4120A5#FFFFFF#000000##FFFFFF
##4120A51.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4120a5;
/* rgb */ color: rgb(65, 32, 165);
/* oklch */ color: oklch(38.8% 0.194 284.1);
Tailwind
colors: {
  custom: {
    50: '#8361c1',
    500: '#4120a5',
    950: '#000000',
  },
}
SCSS
$custom: #4120a5;
$custom-light: #8361c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4120a5",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 254.887,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38757,
    "c": 0.19402,
    "h": 284.1
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#4120A5
secondary
#ABC55C
accent
#EA3DBF
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4120A5

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

Preview Lab → · Contrast checker → · Palette generator →

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