#4123AB#4123AB

#4123AB is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.198 H 282.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4123AB
RGBrgb(65, 35, 171)
HSLhsl(253, 66%, 40%)
HSVhsv(253, 80%, 67%)
CMYKcmyk(62%, 79.5%, 0%, 32.9%)
CIE-LABlab(27.48, 49.65, -67.08)
CIE-LCHlch(27.48, 83.45, 306.51°)
OKLaboklab(39.71% 0.0436 -0.1934)
OKLCHoklch(39.71% 0.198 282.7)
XYZxyz(10.1294, 5.2654, 39.0027)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4123AB #8DAB23
analogous
#2349AB #4123AB #8523AB
triadic
#4123AB #AB4123 #23AB41
tetradic
#4123AB #AB2349 #8DAB23 #23AB85
square
#4123AB #AB2349 #8DAB23 #23AB85
split-complementary
#4123AB #AB8523 #49AB23
monochromatic
#1A0E45 #2E1978 #4123AB #5935D6 #8368E0

Accessibility & contrast

On white

10.23
#4123AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4123AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4123AB
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4123AB#FFFFFF#000000##FFFFFF
##4123AB1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4123ab;
/* rgb */ color: rgb(65, 35, 171);
/* oklch */ color: oklch(39.7% 0.198 282.7);
Tailwind
colors: {
  custom: {
    50: '#8363c5',
    500: '#4123ab',
    950: '#000000',
  },
}
SCSS
$custom: #4123ab;
$custom-light: #8363c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4123ab",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 171
  },
  "hsl": {
    "h": 253.235,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39714,
    "c": 0.1983,
    "h": 282.7
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#4123AB
secondary
#B0C664
accent
#E93FC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4123AB

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

Preview Lab → · Contrast checker → · Palette generator →

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