#4123BA#4123BA

#4123BA is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.215 H 280.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4123BA
RGBrgb(65, 35, 186)
HSLhsl(252, 68%, 43%)
HSVhsv(252, 81%, 73%)
CMYKcmyk(65.1%, 81.2%, 0%, 27.1%)
CIE-LABlab(29.08, 53.99, -73.38)
CIE-LCHlch(29.08, 91.10, 306.34°)
OKLaboklab(41.3% 0.039 -0.2118)
OKLCHoklch(41.3% 0.215 280.4)
XYZxyz(11.6411, 5.8701, 46.9644)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4123BA #9CBA23
analogous
#2350BA #4123BA #8D23BA
triadic
#4123BA #BA4123 #23BA41
tetradic
#4123BA #BA2350 #9CBA23 #23BA8D
square
#4123BA #BA2350 #9CBA23 #23BA8D
split-complementary
#4123BA #BA8D23 #50BA23
monochromatic
#1D1053 #2F1986 #4123BA #5E3FDB #8973E5

Accessibility & contrast

On white

9.66
#4123BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4123BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4123BA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4123BA#FFFFFF#000000##FFFFFF
##4123BA1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4123ba;
/* rgb */ color: rgb(65, 35, 186);
/* oklch */ color: oklch(41.3% 0.215 280.4);
Tailwind
colors: {
  custom: {
    50: '#8664d0',
    500: '#4123ba',
    950: '#000000',
  },
}
SCSS
$custom: #4123ba;
$custom-light: #8664d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4123ba",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 251.921,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.21537,
    "h": 280.4
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#4123BA
secondary
#B9CC6D
accent
#EB3DC8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4123BA

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

Preview Lab → · Contrast checker → · Palette generator →

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