#45267F#45267F

#45267F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.142 H 294.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#45267F
RGBrgb(69, 38, 127)
HSLhsl(261, 54%, 32%)
HSVhsv(261, 70%, 50%)
CMYKcmyk(45.7%, 70.1%, 0%, 50.2%)
CIE-LABlab(24.27, 35.78, -45.23)
CIE-LCHlch(24.27, 57.67, 308.35°)
OKLaboklab(36.28% 0.0581 -0.1293)
OKLCHoklch(36.28% 0.142 294.2)
XYZxyz(6.9771, 4.1836, 20.5145)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45267F #607F26
analogous
#26347F #45267F #72267F
triadic
#45267F #7F4526 #267F45
tetradic
#45267F #7F2634 #607F26 #267F72
square
#45267F #7F2634 #607F26 #267F72
split-complementary
#45267F #7F7226 #347F26
monochromatic
#120A21 #2B1850 #45267F #5F34AE #7D54CC

Accessibility & contrast

On white

11.43
#45267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#45267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45267F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45267F#FFFFFF#000000##FFFFFF
##45267F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#353C4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45267f;
/* rgb */ color: rgb(69, 38, 127);
/* oklch */ color: oklch(36.3% 0.142 294.2);
Tailwind
colors: {
  custom: {
    50: '#7e63a5',
    500: '#45267f',
    950: '#000000',
  },
}
SCSS
$custom: #45267f;
$custom-light: #7e63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#45267f",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 260.899,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.14179,
    "h": 294.2
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#45267F
secondary
#8FB051
accent
#DD4AAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #45267F

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

Preview Lab → · Contrast checker → · Palette generator →

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