#451FAB#451FAB

#451FAB is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.201 H 285.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#451FAB
RGBrgb(69, 31, 171)
HSLhsl(256, 69%, 40%)
HSVhsv(256, 82%, 67%)
CMYKcmyk(59.6%, 81.9%, 0%, 32.9%)
CIE-LABlab(27.25, 51.88, -67.43)
CIE-LCHlch(27.25, 85.08, 307.57°)
OKLaboklab(39.65% 0.052 -0.1943)
OKLCHoklch(39.65% 0.201 285)
XYZxyz(10.2927, 5.1848, 38.9786)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451FAB #85AB1F
analogous
#1F3FAB #451FAB #8B1FAB
triadic
#451FAB #AB451F #1FAB45
tetradic
#451FAB #AB1F3F #85AB1F #1FAB8B
square
#451FAB #AB1F3F #85AB1F #1FAB8B
split-complementary
#451FAB #AB8B1F #3FAB1F
monochromatic
#1B0C43 #301677 #451FAB #5D2ED9 #8562E3

Accessibility & contrast

On white

10.31
#451FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#451FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451FAB
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451FAB#FFFFFF#000000##FFFFFF
##451FAB1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#034A66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #451fab;
/* rgb */ color: rgb(69, 31, 171);
/* oklch */ color: oklch(39.7% 0.201 285.0);
Tailwind
colors: {
  custom: {
    50: '#8661c5',
    500: '#451fab',
    950: '#000000',
  },
}
SCSS
$custom: #451fab;
$custom-light: #8661c5;
$custom-dark: #000000;
JSON
{
  "hex": "#451fab",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 256.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.20118,
    "h": 285
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#451FAB
secondary
#ABC75E
accent
#EC3CBC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #451FAB

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

Preview Lab → · Contrast checker → · Palette generator →

#451FAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva