#451272#451272

#451272 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.150 H 302.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#451272
RGBrgb(69, 18, 114)
HSLhsl(272, 73%, 26%)
HSVhsv(272, 84%, 45%)
CMYKcmyk(39.5%, 84.2%, 0%, 55.3%)
CIE-LABlab(19.69, 41.95, -44.39)
CIE-LCHlch(19.69, 61.08, 313.38°)
OKLaboklab(32.69% 0.0807 -0.1268)
OKLCHoklch(32.69% 0.15 302.5)
XYZxyz(5.7071, 2.9127, 16.1779)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451272 #3F7212
analogous
#151272 #451272 #72126F
triadic
#451272 #724512 #127245
tetradic
#451272 #721512 #3F7212 #126F72
square
#451272 #721512 #3F7212 #126F72
split-complementary
#451272 #6F7212 #127215
monochromatic
#10041A #250A3D #451272 #651AA7 #8523DC

Accessibility & contrast

On white

13.27
#451272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#451272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451272
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451272#FFFFFF#000000##FFFFFF
##4512721.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#3B2D43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #451272;
/* rgb */ color: rgb(69, 18, 114);
/* oklch */ color: oklch(32.7% 0.150 302.5);
Tailwind
colors: {
  custom: {
    50: '#7e579b',
    500: '#451272',
    950: '#000000',
  },
}
SCSS
$custom: #451272;
$custom-light: #7e579b;
$custom-dark: #000000;
JSON
{
  "hex": "#451272",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 271.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.15026,
    "h": 302.5
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#451272
secondary
#6CA937
accent
#EF388E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #451272

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

Preview Lab → · Contrast checker → · Palette generator →

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