#4123AD#4123AD

#4123AD is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.201 H 282.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4123AD
RGBrgb(65, 35, 173)
HSLhsl(253, 66%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(62.4%, 79.8%, 0%, 32.2%)
CIE-LABlab(27.69, 50.23, -67.93)
CIE-LCHlch(27.69, 84.49, 306.48°)
OKLaboklab(39.92% 0.043 -0.196)
OKLCHoklch(39.92% 0.201 282.4)
XYZxyz(10.3215, 5.3423, 40.0143)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4123AD #8FAD23
analogous
#234AAD #4123AD #8623AD
triadic
#4123AD #AD4123 #23AD41
tetradic
#4123AD #AD234A #8FAD23 #23AD86
square
#4123AD #AD234A #8FAD23 #23AD86
split-complementary
#4123AD #AD8623 #4AAD23
monochromatic
#1B0E47 #2E197A #4123AD #5937D6 #846AE1

Accessibility & contrast

On white

10.15
#4123AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4123AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4123AD
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4123AD#FFFFFF#000000##FFFFFF
##4123AD1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4123ad;
/* rgb */ color: rgb(65, 35, 173);
/* oklch */ color: oklch(39.9% 0.201 282.4);
Tailwind
colors: {
  custom: {
    50: '#8463c7',
    500: '#4123ad',
    950: '#000000',
  },
}
SCSS
$custom: #4123ad;
$custom-light: #8463c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4123ad",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 253.043,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39923,
    "c": 0.20061,
    "h": 282.4
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#4123AD
secondary
#B1C765
accent
#E93FC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4123AD

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

Preview Lab → · Contrast checker → · Palette generator →

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