#4120B3#4120B3

#4120B3 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.210 H 281.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4120B3
RGBrgb(65, 32, 179)
HSLhsl(253, 70%, 41%)
HSVhsv(253, 82%, 70%)
CMYKcmyk(63.7%, 82.1%, 0%, 29.8%)
CIE-LABlab(27.87, 53.29, -71.22)
CIE-LCHlch(27.87, 88.95, 306.81°)
OKLaboklab(40.24% 0.0427 -0.2055)
OKLCHoklch(40.24% 0.21 281.7)
XYZxyz(10.8306, 5.4107, 43.1127)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4120B3 #92B320
analogous
#2049B3 #4120B3 #8B20B3
triadic
#4120B3 #B34120 #20B341
tetradic
#4120B3 #B32049 #92B320 #20B38B
square
#4120B3 #B32049 #92B320 #20B38B
split-complementary
#4120B3 #B38B20 #49B320
monochromatic
#1B0D4B #2E177F #4120B3 #5A35DB #8569E4

Accessibility & contrast

On white

10.08
#4120B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4120B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4120B3
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4120B3#FFFFFF#000000##FFFFFF
##4120B31.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4120b3;
/* rgb */ color: rgb(65, 32, 179);
/* oklch */ color: oklch(40.2% 0.210 281.7);
Tailwind
colors: {
  custom: {
    50: '#8562cb',
    500: '#4120b3',
    950: '#000000',
  },
}
SCSS
$custom: #4120b3;
$custom-light: #8562cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4120b3",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 253.469,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40242,
    "c": 0.20986,
    "h": 281.7
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#4120B3
secondary
#B3CA65
accent
#EC3BC5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4120B3

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

Preview Lab → · Contrast checker → · Palette generator →

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