#45256E#45256E

#45256E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.122 H 300.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#45256E
RGBrgb(69, 37, 110)
HSLhsl(266, 50%, 29%)
HSVhsv(266, 66%, 43%)
CMYKcmyk(37.3%, 66.4%, 0%, 56.9%)
CIE-LABlab(22.70, 31.48, -36.92)
CIE-LCHlch(22.70, 48.52, 310.46°)
OKLaboklab(34.72% 0.0613 -0.1049)
OKLCHoklch(34.72% 0.122 300.3)
XYZxyz(5.9296, 3.7141, 15.1533)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45256E #4E6E25
analogous
#252A6E #45256E #6A256E
triadic
#45256E #6E4525 #256E45
tetradic
#45256E #6E252A #4E6E25 #256E6A
square
#45256E #6E252A #4E6E25 #256E6A
split-complementary
#45256E #6E6A25 #2A6E25
monochromatic
#0E0817 #281640 #45256E #62349C #7F4BC2

Accessibility & contrast

On white

12.05
#45256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#45256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45256E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45256E#FFFFFF#000000##FFFFFF
##45256E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#07366C
Tritanopia (blue-blind)
#3C3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #45256e;
/* rgb */ color: rgb(69, 37, 110);
/* oklch */ color: oklch(34.7% 0.122 300.3);
Tailwind
colors: {
  custom: {
    50: '#7c6198',
    500: '#45256e',
    950: '#000000',
  },
}
SCSS
$custom: #45256e;
$custom-light: #7c6198;
$custom-dark: #000000;
JSON
{
  "hex": "#45256e",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 266.301,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34724,
    "c": 0.12153,
    "h": 300.3
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#45256E
secondary
#7DA14E
accent
#D94F9C
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #45256E

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

Preview Lab → · Contrast checker → · Palette generator →

#45256E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva