#26164C#26164C

#26164C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.095 H 292.0°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#26164C
RGBrgb(38, 22, 76)
HSLhsl(258, 55%, 19%)
HSVhsv(258, 71%, 30%)
CMYKcmyk(50%, 71.1%, 0%, 70.2%)
CIE-LABlab(12.66, 22.97, -30.72)
CIE-LCHlch(12.66, 38.36, 306.79°)
OKLaboklab(25.69% 0.0355 -0.0878)
OKLCHoklch(25.69% 0.095 292)
XYZxyz(2.3904, 1.5076, 7.0011)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26164C #3C4C16
analogous
#16214C #26164C #41164C
triadic
#26164C #4C2616 #164C26
tetradic
#26164C #4C1621 #3C4C16 #164C41
square
#26164C #4C1621 #3C4C16 #164C41
split-complementary
#26164C #4C4116 #214C16
monochromatic
#0C0718 #0E081D #26164C #3E247B #5531AB

Accessibility & contrast

On white

16.13
#26164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#26164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26164C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26164C#FFFFFF#000000##FFFFFF
##26164C1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#1B232E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #26164c;
/* rgb */ color: rgb(38, 22, 76);
/* oklch */ color: oklch(25.7% 0.095 292.0);
Tailwind
colors: {
  custom: {
    50: '#64547e',
    500: '#26164c',
    950: '#000000',
  },
}
SCSS
$custom: #26164c;
$custom-light: #64547e;
$custom-dark: #000000;
JSON
{
  "hex": "#26164c",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 257.778,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25692,
    "c": 0.09474,
    "h": 292
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#26164C
secondary
#6E843A
accent
#DE49B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26164C

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

Preview Lab → · Contrast checker → · Palette generator →

#26164C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva