#452265#452265

#452265 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.6% C 0.115 H 305.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#452265
RGBrgb(69, 34, 101)
HSLhsl(271, 50%, 26%)
HSVhsv(271, 66%, 40%)
CMYKcmyk(31.7%, 66.3%, 0%, 60.4%)
CIE-LABlab(21.39, 30.75, -33.18)
CIE-LCHlch(21.39, 45.24, 312.82°)
OKLaboklab(33.56% 0.0659 -0.0939)
OKLCHoklch(33.56% 0.115 305)
XYZxyz(5.3747, 3.3489, 12.6726)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452265 #426522
analogous
#232265 #452265 #652264
triadic
#452265 #654522 #226545
tetradic
#452265 #652322 #426522 #226465
square
#452265 #652322 #426522 #226465
split-complementary
#452265 #646522 #226523
monochromatic
#100817 #261337 #452265 #643193 #8442BF

Accessibility & contrast

On white

12.58
#452265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#452265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452265
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452265#FFFFFF#000000##FFFFFF
##4522651.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#123363
Tritanopia (blue-blind)
#3F3040
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #452265;
/* rgb */ color: rgb(69, 34, 101);
/* oklch */ color: oklch(33.6% 0.115 305.0);
Tailwind
colors: {
  custom: {
    50: '#7b5f91',
    500: '#452265',
    950: '#000000',
  },
}
SCSS
$custom: #452265;
$custom-light: #7b5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#452265",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 271.343,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3356,
    "c": 0.11473,
    "h": 305
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#452265
secondary
#70994A
accent
#D94F91
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #452265

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

Preview Lab → · Contrast checker → · Palette generator →

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