#45258F#45258F

#45258F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.163 H 290.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#45258F
RGBrgb(69, 37, 143)
HSLhsl(258, 59%, 35%)
HSVhsv(258, 74%, 56%)
CMYKcmyk(51.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(25.48, 41.00, -53.26)
CIE-LCHlch(25.48, 67.22, 307.59°)
OKLaboklab(37.57% 0.0559 -0.1529)
OKLCHoklch(37.57% 0.163 290.1)
XYZxyz(8.0723, 4.5712, 26.4383)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45258F #6F8F25
analogous
#253A8F #45258F #7A258F
triadic
#45258F #8F4525 #258F45
tetradic
#45258F #8F253A #6F8F25 #258F7A
square
#45258F #8F253A #6F8F25 #258F7A
split-complementary
#45258F #8F7A25 #3A8F25
monochromatic
#160C2E #2E185E #45258F #5C32C0 #7F5AD4

Accessibility & contrast

On white

10.97
#45258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#45258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45258F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45258F#FFFFFF#000000##FFFFFF
##45258F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#2B4158
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #45258f;
/* rgb */ color: rgb(69, 37, 143);
/* oklch */ color: oklch(37.6% 0.163 290.1);
Tailwind
colors: {
  custom: {
    50: '#8163b1',
    500: '#45258f',
    950: '#000000',
  },
}
SCSS
$custom: #45258f;
$custom-light: #8163b1;
$custom-dark: #000000;
JSON
{
  "hex": "#45258f",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 258.113,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37574,
    "c": 0.16284,
    "h": 290.1
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#45258F
secondary
#9BB957
accent
#E246B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #45258F

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

Preview Lab → · Contrast checker → · Palette generator →

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