#4523B2#4523B2

#4523B2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.206 H 283.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4523B2
RGBrgb(69, 35, 178)
HSLhsl(254, 67%, 42%)
HSVhsv(254, 80%, 70%)
CMYKcmyk(61.2%, 80.3%, 0%, 30.2%)
CIE-LABlab(28.59, 52.11, -69.42)
CIE-LCHlch(28.59, 86.80, 306.89°)
OKLaboklab(40.8% 0.0475 -0.2002)
OKLCHoklch(40.8% 0.206 283.3)
XYZxyz(11.0887, 5.6809, 42.6230)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4523B2 #90B223
analogous
#2348B2 #4523B2 #8D23B2
triadic
#4523B2 #B24523 #23B245
tetradic
#4523B2 #B22348 #90B223 #23B28D
square
#4523B2 #B22348 #90B223 #23B28D
split-complementary
#4523B2 #B28D23 #48B223
monochromatic
#1D0F4C #31197F #4523B2 #603AD8 #896DE2

Accessibility & contrast

On white

9.83
#4523B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4523B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4523B2
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4523B2#FFFFFF#000000##FFFFFF
##4523B21.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4523b2;
/* rgb */ color: rgb(69, 35, 178);
/* oklch */ color: oklch(40.8% 0.206 283.3);
Tailwind
colors: {
  custom: {
    50: '#8764ca',
    500: '#4523b2',
    950: '#000000',
  },
}
SCSS
$custom: #4523b2;
$custom-light: #8764ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4523b2",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 254.266,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.20572,
    "h": 283.3
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#4523B2
secondary
#B2C968
accent
#EA3EC1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4523B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4523B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva