#452F7C#452F7C

#452F7C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.5% C 0.125 H 292.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#452F7C
RGBrgb(69, 47, 124)
HSLhsl(257, 45%, 34%)
HSVhsv(257, 62%, 49%)
CMYKcmyk(44.4%, 62.1%, 0%, 51.4%)
CIE-LABlab(26.02, 29.53, -40.49)
CIE-LCHlch(26.02, 50.12, 306.11°)
OKLaboklab(37.47% 0.0478 -0.1154)
OKLCHoklch(37.47% 0.125 292.5)
XYZxyz(7.1079, 4.7533, 19.6078)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452F7C #667C2F
analogous
#2F3F7C #452F7C #6B2F7C
triadic
#452F7C #7C452F #2F7C45
tetradic
#452F7C #7C2F3F #667C2F #2F7C6B
square
#452F7C #7C2F3F #667C2F #2F7C6B
split-complementary
#452F7C #7C6B2F #3F7C2F
monochromatic
#140D23 #2C1E50 #452F7C #5E40A8 #7E62C3

Accessibility & contrast

On white

10.77
#452F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#452F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452F7C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452F7C#FFFFFF#000000##FFFFFF
##452F7C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#013C7A
Tritanopia (blue-blind)
#364050
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452f7c;
/* rgb */ color: rgb(69, 47, 124);
/* oklch */ color: oklch(37.5% 0.125 292.5);
Tailwind
colors: {
  custom: {
    50: '#7d68a2',
    500: '#452f7c',
    950: '#000000',
  },
}
SCSS
$custom: #452f7c;
$custom-light: #7d68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#452f7c",
  "rgb": {
    "r": 69,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 257.143,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37473,
    "c": 0.12494,
    "h": 292.5
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#452F7C
secondary
#94AA5C
accent
#D553B0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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