#4531A8#4531A8

#4531A8 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.180 H 282.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4531A8
RGBrgb(69, 49, 168)
HSLhsl(250, 55%, 43%)
HSVhsv(250, 71%, 66%)
CMYKcmyk(58.9%, 70.8%, 0%, 34.1%)
CIE-LABlab(30.13, 41.98, -60.90)
CIE-LCHlch(30.13, 73.97, 304.58°)
OKLaboklab(41.58% 0.0403 -0.1754)
OKLCHoklch(41.58% 0.18 282.9)
XYZxyz(10.6183, 6.2883, 37.6924)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4531A8 #94A831
analogous
#3158A8 #4531A8 #8031A8
triadic
#4531A8 #A84531 #31A845
tetradic
#4531A8 #A83158 #94A831 #31A880
square
#4531A8 #A83158 #94A831 #31A880
split-complementary
#4531A8 #A88031 #58A831
monochromatic
#1E1549 #322379 #4531A8 #614CCB #8B7BD8

Accessibility & contrast

On white

9.30
#4531A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4531A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4531A8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4531A8#FFFFFF#000000##FFFFFF
##4531A81.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#085169
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4531a8;
/* rgb */ color: rgb(69, 49, 168);
/* oklch */ color: oklch(41.6% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#846bc3',
    500: '#4531a8',
    950: '#000000',
  },
}
SCSS
$custom: #4531a8;
$custom-light: #846bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4531a8",
  "rgb": {
    "r": 69,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 250.084,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.17995,
    "h": 282.9
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#4531A8
secondary
#B4C174
accent
#DE4AC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4531A8

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

Preview Lab → · Contrast checker → · Palette generator →

#4531A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva