#451262#451262

#451262 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.133 H 309.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#451262
RGBrgb(69, 18, 98)
HSLhsl(278, 69%, 23%)
HSVhsv(278, 82%, 38%)
CMYKcmyk(29.6%, 81.6%, 0%, 61.6%)
CIE-LABlab(18.28, 38.03, -36.24)
CIE-LCHlch(18.28, 52.53, 316.38°)
OKLaboklab(31.26% 0.0851 -0.1028)
OKLCHoklch(31.26% 0.133 309.6)
XYZxyz(4.8747, 2.5798, 11.7941)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451262 #2F6212
analogous
#1D1262 #451262 #621257
triadic
#451262 #624512 #126245
tetradic
#451262 #621D12 #2F6212 #125762
square
#451262 #621D12 #2F6212 #125762
split-complementary
#451262 #576212 #12621D
monochromatic
#12051A #21092E #451262 #691B96 #8E25C9

Accessibility & contrast

On white

13.85
#451262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#451262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451262
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451262#FFFFFF#000000##FFFFFF
##4512621.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#412639
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #451262;
/* rgb */ color: rgb(69, 18, 98);
/* oklch */ color: oklch(31.3% 0.133 309.6);
Tailwind
colors: {
  custom: {
    50: '#7c568f',
    500: '#451262',
    950: '#000000',
  },
}
SCSS
$custom: #451262;
$custom-light: #7c568f;
$custom-dark: #000000;
JSON
{
  "hex": "#451262",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 278.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31261,
    "c": 0.13348,
    "h": 309.6
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#451262
secondary
#5A9A36
accent
#EC3C7C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #451262

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

Preview Lab → · Contrast checker → · Palette generator →

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