#451255#451255

#451255 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.120 H 316.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#451255
RGBrgb(69, 18, 85)
HSLhsl(286, 65%, 20%)
HSVhsv(286, 79%, 33%)
CMYKcmyk(18.8%, 78.8%, 0%, 66.7%)
CIE-LABlab(17.24, 35.00, -29.22)
CIE-LCHlch(17.24, 45.60, 320.15°)
OKLaboklab(30.21% 0.0874 -0.0822)
OKLCHoklch(30.21% 0.12 316.8)
XYZxyz(4.3100, 2.3539, 8.8199)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451255 #225512
analogous
#241255 #451255 #551243
triadic
#451255 #554512 #125545
tetradic
#451255 #552412 #225512 #124355
square
#451255 #552412 #225512 #124355
split-complementary
#451255 #435512 #125524
monochromatic
#140519 #1C0722 #451255 #6E1D88 #9727BA

Accessibility & contrast

On white

14.28
#451255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#451255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451255
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451255#FFFFFF#000000##FFFFFF
##4512551.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#132C53
Tritanopia (blue-blind)
#442032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #451255;
/* rgb */ color: rgb(69, 18, 85);
/* oklch */ color: oklch(30.2% 0.120 316.8);
Tailwind
colors: {
  custom: {
    50: '#7b5685',
    500: '#451255',
    950: '#000000',
  },
}
SCSS
$custom: #451255;
$custom-light: #7b5685;
$custom-dark: #000000;
JSON
{
  "hex": "#451255",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 285.672,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30206,
    "c": 0.11999,
    "h": 316.8
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#451255
secondary
#4A8E35
accent
#E84068
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #451255

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

Preview Lab → · Contrast checker → · Palette generator →

#451255 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva