#45266F#45266F

#45266F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.121 H 299.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#45266F
RGBrgb(69, 38, 111)
HSLhsl(265, 49%, 29%)
HSVhsv(265, 66%, 44%)
CMYKcmyk(37.8%, 65.8%, 0%, 56.5%)
CIE-LABlab(23.00, 31.18, -37.09)
CIE-LCHlch(23.00, 48.45, 310.05°)
OKLaboklab(34.96% 0.06 -0.1054)
OKLCHoklch(34.96% 0.121 299.6)
XYZxyz(6.0159, 3.7991, 15.4522)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45266F #506F26
analogous
#262C6F #45266F #6A266F
triadic
#45266F #6F4526 #266F45
tetradic
#45266F #6F262C #506F26 #266F6A
square
#45266F #6F262C #506F26 #266F6A
split-complementary
#45266F #6F6A26 #2C6F26
monochromatic
#0E0817 #291641 #45266F #61369D #7F4DC2

Accessibility & contrast

On white

11.93
#45266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#45266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45266F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45266F#FFFFFF#000000##FFFFFF
##45266F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#3C3646
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #45266f;
/* rgb */ color: rgb(69, 38, 111);
/* oklch */ color: oklch(35.0% 0.121 299.6);
Tailwind
colors: {
  custom: {
    50: '#7c6299',
    500: '#45266f',
    950: '#000000',
  },
}
SCSS
$custom: #45266f;
$custom-light: #7c6299;
$custom-dark: #000000;
JSON
{
  "hex": "#45266f",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 265.479,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3496,
    "c": 0.12129,
    "h": 299.6
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#45266F
secondary
#7FA24F
accent
#D94F9E
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #45266F

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

Preview Lab → · Contrast checker → · Palette generator →

#45266F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva