#45274B#45274B

#45274B is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.7% C 0.072 H 320.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#45274B
RGBrgb(69, 39, 75)
HSLhsl(290, 32%, 22%)
HSVhsv(290, 48%, 29%)
CMYKcmyk(8%, 48%, 0%, 70.6%)
CIE-LABlab(20.92, 21.06, -16.63)
CIE-LCHlch(20.92, 26.83, 321.71°)
OKLaboklab(32.69% 0.056 -0.0458)
OKLCHoklch(32.69% 0.072 320.8)
XYZxyz(4.4496, 3.2244, 7.0432)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45274B #2D4B27
analogous
#33274B #45274B #4B273F
triadic
#45274B #4B4527 #274B45
tetradic
#45274B #4B3327 #2D4B27 #273F4B
square
#45274B #4B3327 #2D4B27 #273F4B
split-complementary
#45274B #3F4B27 #274B33
monochromatic
#130A14 #201223 #45274B #6A3C73 #8F519C

Accessibility & contrast

On white

12.77
#45274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#45274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45274B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45274B#FFFFFF#000000##FFFFFF
##45274B1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304C
Deuteranopia (green-blind)
#2A334A
Tritanopia (blue-blind)
#462B35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45274b;
/* rgb */ color: rgb(69, 39, 75);
/* oklch */ color: oklch(32.7% 0.072 320.8);
Tailwind
colors: {
  custom: {
    50: '#79627d',
    500: '#45274b',
    950: '#000000',
  },
}
SCSS
$custom: #45274b;
$custom-light: #79627d;
$custom-dark: #000000;
JSON
{
  "hex": "#45274b",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 290,
    "s": 31.579,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.07236,
    "h": 320.8
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#45274B
secondary
#587E50
accent
#C86071
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#090509
muted
#7B797B

Preview Lab

Preview with #45274B

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

Preview Lab → · Contrast checker → · Palette generator →

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