#45267B#45267B

#45267B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.137 H 295.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#45267B
RGBrgb(69, 38, 123)
HSLhsl(262, 53%, 32%)
HSVhsv(262, 69%, 48%)
CMYKcmyk(43.9%, 69.1%, 0%, 51.8%)
CIE-LABlab(23.94, 34.62, -43.23)
CIE-LCHlch(23.94, 55.39, 308.69°)
OKLaboklab(35.94% 0.0587 -0.1235)
OKLCHoklch(35.94% 0.137 295.4)
XYZxyz(6.7216, 4.0813, 19.1687)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45267B #5C7B26
analogous
#26327B #45267B #70267B
triadic
#45267B #7B4526 #267B45
tetradic
#45267B #7B2632 #5C7B26 #267B70
square
#45267B #7B2632 #5C7B26 #267B70
split-complementary
#45267B #7B7026 #327B26
monochromatic
#11091D #2B184C #45267B #5F34AA #7E52CA

Accessibility & contrast

On white

11.56
#45267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#45267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45267B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45267B#FFFFFF#000000##FFFFFF
##45267B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#373A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #45267b;
/* rgb */ color: rgb(69, 38, 123);
/* oklch */ color: oklch(35.9% 0.137 295.4);
Tailwind
colors: {
  custom: {
    50: '#7e62a2',
    500: '#45267b',
    950: '#000000',
  },
}
SCSS
$custom: #45267b;
$custom-light: #7e62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45267b",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 261.882,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.13673,
    "h": 295.4
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#45267B
secondary
#8BAD50
accent
#DC4CA7
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45267B

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

Preview Lab → · Contrast checker → · Palette generator →

#45267B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva