#45255D#45255D

#45255D is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.099 H 308.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#45255D
RGBrgb(69, 37, 93)
HSLhsl(274, 43%, 25%)
HSVhsv(274, 60%, 36%)
CMYKcmyk(25.8%, 60.2%, 0%, 63.5%)
CIE-LABlab(21.50, 26.84, -27.75)
CIE-LCHlch(21.50, 38.60, 314.05°)
OKLaboklab(33.46% 0.0617 -0.078)
OKLCHoklch(33.46% 0.099 308.3)
XYZxyz(5.0912, 3.3787, 10.7378)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45255D #3D5D25
analogous
#29255D #45255D #5D2559
triadic
#45255D #5D4525 #255D45
tetradic
#45255D #5D2925 #3D5D25 #25595D
square
#45255D #5D2925 #3D5D25 #25595D
split-complementary
#45255D #595D25 #255D29
monochromatic
#100916 #251431 #45255D #653689 #8648B5

Accessibility & contrast

On white

12.53
#45255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#45255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45255D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45255D#FFFFFF#000000##FFFFFF
##45255D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#1E345C
Tritanopia (blue-blind)
#422F3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #45255d;
/* rgb */ color: rgb(69, 37, 93);
/* oklch */ color: oklch(33.5% 0.099 308.3);
Tailwind
colors: {
  custom: {
    50: '#7b618b',
    500: '#45255d',
    950: '#000000',
  },
}
SCSS
$custom: #45255d;
$custom-light: #7b618b;
$custom-dark: #000000;
JSON
{
  "hex": "#45255d",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 274.286,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33463,
    "c": 0.09943,
    "h": 308.3
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#45255D
secondary
#6A904D
accent
#D3558B
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #45255D

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

Preview Lab → · Contrast checker → · Palette generator →

#45255D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva