#45268D#45268D

#45268D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.159 H 290.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#45268D
RGBrgb(69, 38, 141)
HSLhsl(258, 58%, 35%)
HSVhsv(258, 73%, 55%)
CMYKcmyk(51.1%, 73%, 0%, 44.7%)
CIE-LABlab(25.49, 39.88, -52.01)
CIE-LCHlch(25.49, 65.54, 307.48°)
OKLaboklab(37.53% 0.0554 -0.1493)
OKLCHoklch(37.53% 0.159 290.4)
XYZxyz(7.9537, 4.5742, 25.6580)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45268D #6E8D26
analogous
#263B8D #45268D #78268D
triadic
#45268D #8D4526 #268D45
tetradic
#45268D #8D263B #6E8D26 #268D78
square
#45268D #8D263B #6E8D26 #268D78
split-complementary
#45268D #8D7826 #3B8D26
monochromatic
#160C2D #2D195D #45268D #5D33BD #7F5BD3

Accessibility & contrast

On white

10.97
#45268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#45268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45268D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45268D#FFFFFF#000000##FFFFFF
##45268D1.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#2C4157
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45268d;
/* rgb */ color: rgb(69, 38, 141);
/* oklch */ color: oklch(37.5% 0.159 290.4);
Tailwind
colors: {
  custom: {
    50: '#8063af',
    500: '#45268d',
    950: '#000000',
  },
}
SCSS
$custom: #45268d;
$custom-light: #8063af;
$custom-dark: #000000;
JSON
{
  "hex": "#45268d",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 258.058,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.15922,
    "h": 290.4
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#45268D
secondary
#9BB857
accent
#E147B3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #45268D

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

Preview Lab → · Contrast checker → · Palette generator →

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