#45268C#45268C

#45268C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.158 H 290.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#45268C
RGBrgb(69, 38, 140)
HSLhsl(258, 57%, 35%)
HSVhsv(258, 73%, 55%)
CMYKcmyk(50.7%, 72.9%, 0%, 45.1%)
CIE-LABlab(25.40, 39.59, -51.53)
CIE-LCHlch(25.40, 64.98, 307.53°)
OKLaboklab(37.43% 0.0556 -0.1479)
OKLCHoklch(37.43% 0.158 290.6)
XYZxyz(7.8796, 4.5446, 25.2679)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45268C #6D8C26
analogous
#263A8C #45268C #78268C
triadic
#45268C #8C4526 #268C45
tetradic
#45268C #8C263A #6D8C26 #268C78
square
#45268C #8C263A #6D8C26 #268C78
split-complementary
#45268C #8C7826 #3A8C26
monochromatic
#160C2C #2D195C #45268C #5D33BC #7F5AD2

Accessibility & contrast

On white

11.00
#45268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#45268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45268C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45268C#FFFFFF#000000##FFFFFF
##45268C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#2D4156
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45268c;
/* rgb */ color: rgb(69, 38, 140);
/* oklch */ color: oklch(37.4% 0.158 290.6);
Tailwind
colors: {
  custom: {
    50: '#8063ae',
    500: '#45268c',
    950: '#000000',
  },
}
SCSS
$custom: #45268c;
$custom-light: #8063ae;
$custom-dark: #000000;
JSON
{
  "hex": "#45268c",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 258.235,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.15799,
    "h": 290.6
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#45268C
secondary
#9AB757
accent
#E147B2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #45268C

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

Preview Lab → · Contrast checker → · Palette generator →

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