#45308E#45308E

#45308E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.148 H 287.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#45308E
RGBrgb(69, 48, 142)
HSLhsl(253, 49%, 37%)
HSVhsv(253, 66%, 56%)
CMYKcmyk(51.4%, 66.2%, 0%, 44.3%)
CIE-LABlab(27.66, 34.46, -49.08)
CIE-LCHlch(27.66, 59.97, 305.07°)
OKLaboklab(39.11% 0.0452 -0.1407)
OKLCHoklch(39.11% 0.148 287.8)
XYZxyz(8.3923, 5.3317, 26.1729)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45308E #798E30
analogous
#304A8E #45308E #74308E
triadic
#45308E #8E4530 #308E45
tetradic
#45308E #8E304A #798E30 #308E74
square
#45308E #8E304A #798E30 #308E74
split-complementary
#45308E #8E7430 #4A8E30
monochromatic
#191133 #2F2160 #45308E #5B3FBC #816BCD

Accessibility & contrast

On white

10.16
#45308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#45308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45308E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45308E#FFFFFF#000000##FFFFFF
##45308E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#2B475A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45308e;
/* rgb */ color: rgb(69, 48, 142);
/* oklch */ color: oklch(39.1% 0.148 287.8);
Tailwind
colors: {
  custom: {
    50: '#806ab0',
    500: '#45308e',
    950: '#000000',
  },
}
SCSS
$custom: #45308e;
$custom-light: #806ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#45308e",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 253.404,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.14778,
    "h": 287.8
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#45308E
secondary
#A3B465
accent
#D94FBA
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #45308E

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

Preview Lab → · Contrast checker → · Palette generator →

#45308E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva