#45385F#45385F

#45385F is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.2% C 0.067 H 298.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#45385F
RGBrgb(69, 56, 95)
HSLhsl(260, 26%, 30%)
HSVhsv(260, 41%, 37%)
CMYKcmyk(27.4%, 41.1%, 0%, 62.7%)
CIE-LABlab(26.50, 15.14, -21.15)
CIE-LCHlch(26.50, 26.01, 305.59°)
OKLaboklab(37.24% 0.0319 -0.0589)
OKLCHoklch(37.24% 0.067 298.4)
XYZxyz(5.9335, 4.9197, 11.4613)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45385F #525F38
analogous
#383F5F #45385F #59385F
triadic
#45385F #5F4538 #385F45
tetradic
#45385F #5F383F #525F38 #385F59
square
#45385F #5F383F #525F38 #385F59
split-complementary
#45385F #5F5938 #3F5F38
monochromatic
#0E0B13 #292138 #45385F #614F86 #7F6AA7

Accessibility & contrast

On white

10.58
#45385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#45385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45385F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45385F#FFFFFF#000000##FFFFFF
##45385F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#303E5E
Tritanopia (blue-blind)
#403F47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45385f;
/* rgb */ color: rgb(69, 56, 95);
/* oklch */ color: oklch(37.2% 0.067 298.4);
Tailwind
colors: {
  custom: {
    50: '#796e8c',
    500: '#45385f',
    950: '#000000',
  },
}
SCSS
$custom: #45385f;
$custom-light: #796e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#45385f",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 260,
    "s": 25.828,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37243,
    "c": 0.06697,
    "h": 298.4
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#45385F
secondary
#818F63
accent
#C266A3
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#09070C
muted
#7B7A7D

Preview Lab

Preview with #45385F

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

Preview Lab → · Contrast checker → · Palette generator →

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