#26176A#26176A

#26176A is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.135 H 282.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#26176A
RGBrgb(38, 23, 106)
HSLhsl(251, 64%, 25%)
HSVhsv(251, 78%, 42%)
CMYKcmyk(64.2%, 78.3%, 0%, 58.4%)
CIE-LABlab(15.83, 32.37, -45.68)
CIE-LCHlch(15.83, 55.99, 305.33°)
OKLaboklab(28.86% 0.0284 -0.1317)
OKLCHoklch(28.86% 0.135 282.2)
XYZxyz(3.7064, 2.0652, 13.8362)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26176A #5B6A17
analogous
#17326A #26176A #4F176A
triadic
#26176A #6A2617 #176A26
tetradic
#26176A #6A1732 #5B6A17 #176A4F
square
#26176A #6A1732 #5B6A17 #176A4F
split-complementary
#26176A #6A4F17 #326A17
monochromatic
#090519 #140C38 #26176A #38229C #4A2DCF

Accessibility & contrast

On white

14.86
#26176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#26176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26176A
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26176A#FFFFFF#000000##FFFFFF
##26176A1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26176a;
/* rgb */ color: rgb(38, 23, 106);
/* oklch */ color: oklch(28.9% 0.135 282.2);
Tailwind
colors: {
  custom: {
    50: '#6a5696',
    500: '#26176a',
    950: '#000000',
  },
}
SCSS
$custom: #26176a;
$custom-light: #6a5696;
$custom-dark: #000000;
JSON
{
  "hex": "#26176a",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 250.843,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28861,
    "c": 0.13473,
    "h": 282.2
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#26176A
secondary
#8EA03D
accent
#E740C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #26176A

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

Preview Lab → · Contrast checker → · Palette generator →

#26176A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva