#26164D#26164D

#26164D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.096 H 291.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#26164D
RGBrgb(38, 22, 77)
HSLhsl(257, 56%, 19%)
HSVhsv(257, 71%, 30%)
CMYKcmyk(50.6%, 71.4%, 0%, 69.8%)
CIE-LABlab(12.74, 23.30, -31.26)
CIE-LCHlch(12.74, 38.99, 306.70°)
OKLaboklab(25.78% 0.0354 -0.0894)
OKLCHoklch(25.78% 0.096 291.6)
XYZxyz(2.4254, 1.5216, 7.1856)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26164D #3D4D16
analogous
#16214D #26164D #42164D
triadic
#26164D #4D2616 #164D26
tetradic
#26164D #4D1621 #3D4D16 #164D42
square
#26164D #4D1621 #3D4D16 #164D42
split-complementary
#26164D #4D4216 #214D16
monochromatic
#0C0718 #0F081D #26164D #3D247D #5531AC

Accessibility & contrast

On white

16.10
#26164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26164D
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26164D#FFFFFF#000000##FFFFFF
##26164D1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#1A232F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #26164d;
/* rgb */ color: rgb(38, 22, 77);
/* oklch */ color: oklch(25.8% 0.096 291.6);
Tailwind
colors: {
  custom: {
    50: '#64547f',
    500: '#26164d',
    950: '#000000',
  },
}
SCSS
$custom: #26164d;
$custom-light: #64547f;
$custom-dark: #000000;
JSON
{
  "hex": "#26164d",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 257.455,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25784,
    "c": 0.09617,
    "h": 291.6
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#26164D
secondary
#6F853A
accent
#DF49B3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #26164D

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

Preview Lab → · Contrast checker → · Palette generator →

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