#4123A4#4123A4

#4123A4 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.190 H 283.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4123A4
RGBrgb(65, 35, 164)
HSLhsl(254, 65%, 39%)
HSVhsv(254, 79%, 64%)
CMYKcmyk(60.4%, 78.7%, 0%, 35.7%)
CIE-LABlab(26.75, 47.61, -64.05)
CIE-LCHlch(26.75, 79.80, 306.62°)
OKLaboklab(38.99% 0.0457 -0.1846)
OKLCHoklch(38.99% 0.19 283.9)
XYZxyz(9.4798, 5.0056, 35.5814)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4123A4 #86A423
analogous
#2346A4 #4123A4 #8223A4
triadic
#4123A4 #A44123 #23A441
tetradic
#4123A4 #A42346 #86A423 #23A482
square
#4123A4 #A42346 #86A423 #23A482
split-complementary
#4123A4 #A48223 #46A423
monochromatic
#190D3F #2D1872 #4123A4 #5731D3 #8064DE

Accessibility & contrast

On white

10.49
#4123A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4123A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4123A4
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4123A4#FFFFFF#000000##FFFFFF
##4123A41.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4123a4;
/* rgb */ color: rgb(65, 35, 164);
/* oklch */ color: oklch(39.0% 0.190 283.9);
Tailwind
colors: {
  custom: {
    50: '#8262c0',
    500: '#4123a4',
    950: '#000000',
  },
}
SCSS
$custom: #4123a4;
$custom-light: #8262c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4123a4",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 253.953,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38991,
    "c": 0.19018,
    "h": 283.9
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#4123A4
secondary
#ACC360
accent
#E840C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4123A4

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

Preview Lab → · Contrast checker → · Palette generator →

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