#45268E#45268E

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

Color values

HEX#45268E
RGBrgb(69, 38, 142)
HSLhsl(258, 58%, 35%)
HSVhsv(258, 73%, 56%)
CMYKcmyk(51.4%, 73.2%, 0%, 44.3%)
CIE-LABlab(25.58, 40.18, -52.48)
CIE-LCHlch(25.58, 66.09, 307.44°)
OKLaboklab(37.62% 0.0552 -0.1506)
OKLCHoklch(37.62% 0.16 290.1)
XYZxyz(8.0284, 4.6041, 26.0516)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45268E #6F8E26
analogous
#263B8E #45268E #79268E
triadic
#45268E #8E4526 #268E45
tetradic
#45268E #8E263B #6F8E26 #268E79
square
#45268E #8E263B #6F8E26 #268E79
split-complementary
#45268E #8E7926 #3B8E26
monochromatic
#160C2D #2E195E #45268E #5C33BE #7F5BD3

Accessibility & contrast

On white

10.93
#45268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45268E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45268E#FFFFFF#000000##FFFFFF
##45268E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#2C4157
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45268e;
/* rgb */ color: rgb(69, 38, 142);
/* oklch */ color: oklch(37.6% 0.160 290.1);
Tailwind
colors: {
  custom: {
    50: '#8063b0',
    500: '#45268e',
    950: '#000000',
  },
}
SCSS
$custom: #45268e;
$custom-light: #8063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#45268e",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 257.885,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37617,
    "c": 0.16045,
    "h": 290.1
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#45268E
secondary
#9BB858
accent
#E147B3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #45268E

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

Preview Lab → · Contrast checker → · Palette generator →

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