#45267A#45267A

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

Color values

HEX#45267A
RGBrgb(69, 38, 122)
HSLhsl(262, 53%, 31%)
HSVhsv(262, 69%, 48%)
CMYKcmyk(43.4%, 68.9%, 0%, 52.2%)
CIE-LABlab(23.86, 34.33, -42.73)
CIE-LCHlch(23.86, 54.81, 308.78°)
OKLaboklab(35.85% 0.0588 -0.122)
OKLCHoklch(35.85% 0.135 295.7)
XYZxyz(6.6593, 4.0564, 18.8407)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45267A #5B7A26
analogous
#26317A #45267A #6F267A
triadic
#45267A #7A4526 #267A45
tetradic
#45267A #7A2631 #5B7A26 #267A6F
square
#45267A #7A2631 #5B7A26 #267A6F
split-complementary
#45267A #7A6F26 #317A26
monochromatic
#10091D #2B174B #45267A #5F35A9 #7E51C9

Accessibility & contrast

On white

11.59
#45267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#45267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45267A
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45267A#FFFFFF#000000##FFFFFF
##45267A1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#373A4C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #45267a;
/* rgb */ color: rgb(69, 38, 122);
/* oklch */ color: oklch(35.9% 0.135 295.7);
Tailwind
colors: {
  custom: {
    50: '#7e62a1',
    500: '#45267a',
    950: '#000000',
  },
}
SCSS
$custom: #45267a;
$custom-light: #7e62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#45267a",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 262.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.13545,
    "h": 295.7
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45267A

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

Preview Lab → · Contrast checker → · Palette generator →

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