#4123B3#4123B3

#4123B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.207 H 281.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4123B3
RGBrgb(65, 35, 179)
HSLhsl(253, 67%, 42%)
HSVhsv(253, 80%, 70%)
CMYKcmyk(63.7%, 80.4%, 0%, 29.8%)
CIE-LABlab(28.33, 51.97, -70.47)
CIE-LCHlch(28.33, 87.56, 306.41°)
OKLaboklab(40.56% 0.0411 -0.2033)
OKLCHoklch(40.56% 0.207 281.4)
XYZxyz(10.9151, 5.5797, 43.1409)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4123B3 #95B323
analogous
#234DB3 #4123B3 #8923B3
triadic
#4123B3 #B34123 #23B341
tetradic
#4123B3 #B3234D #95B323 #23B389
square
#4123B3 #B3234D #95B323 #23B389
split-complementary
#4123B3 #B38923 #4DB323
monochromatic
#1C0F4D #2E1980 #4123B3 #5C3BD9 #866EE3

Accessibility & contrast

On white

9.92
#4123B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4123B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4123B3
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4123B3#FFFFFF#000000##FFFFFF
##4123B31.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4123b3;
/* rgb */ color: rgb(65, 35, 179);
/* oklch */ color: oklch(40.6% 0.207 281.4);
Tailwind
colors: {
  custom: {
    50: '#8563cb',
    500: '#4123b3',
    950: '#000000',
  },
}
SCSS
$custom: #4123b3;
$custom-light: #8563cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4123b3",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 252.5,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.20746,
    "h": 281.4
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#4123B3
secondary
#B5C969
accent
#EA3EC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4123B3

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

Preview Lab → · Contrast checker → · Palette generator →

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