#452F7D#452F7D

#452F7D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.126 H 292.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#452F7D
RGBrgb(69, 47, 125)
HSLhsl(257, 45%, 34%)
HSVhsv(257, 62%, 49%)
CMYKcmyk(44.8%, 62.4%, 0%, 51%)
CIE-LABlab(26.09, 29.84, -41.00)
CIE-LCHlch(26.09, 50.71, 306.04°)
OKLaboklab(37.55% 0.0478 -0.1169)
OKLCHoklch(37.55% 0.126 292.2)
XYZxyz(7.1714, 4.7787, 19.9426)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452F7D #677D2F
analogous
#2F407D #452F7D #6C2F7D
triadic
#452F7D #7D452F #2F7D45
tetradic
#452F7D #7D2F40 #677D2F #2F7D6C
square
#452F7D #7D2F40 #677D2F #2F7D6C
split-complementary
#452F7D #7D6C2F #407D2F
monochromatic
#140E24 #2C1E51 #452F7D #5E40A9 #7E62C4

Accessibility & contrast

On white

10.74
#452F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#452F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452F7D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452F7D#FFFFFF#000000##FFFFFF
##452F7D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#354151
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452f7d;
/* rgb */ color: rgb(69, 47, 125);
/* oklch */ color: oklch(37.6% 0.126 292.2);
Tailwind
colors: {
  custom: {
    50: '#7d68a3',
    500: '#452f7d',
    950: '#000000',
  },
}
SCSS
$custom: #452f7d;
$custom-light: #7d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#452f7d",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 256.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.12632,
    "h": 292.2
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#452F7D
secondary
#95AB5D
accent
#D553B0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#452F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva