#26164A#26164A

#26164A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.092 H 292.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#26164A
RGBrgb(38, 22, 74)
HSLhsl(258, 54%, 19%)
HSVhsv(258, 70%, 29%)
CMYKcmyk(48.6%, 70.3%, 0%, 71%)
CIE-LABlab(12.48, 22.31, -29.62)
CIE-LCHlch(12.48, 37.08, 306.99°)
OKLaboklab(25.51% 0.0357 -0.0846)
OKLCHoklch(25.51% 0.092 292.9)
XYZxyz(2.3219, 1.4802, 6.6406)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26164A #3A4A16
analogous
#16204A #26164A #40164A
triadic
#26164A #4A2616 #164A26
tetradic
#26164A #4A1620 #3A4A16 #164A40
square
#26164A #4A1620 #3A4A16 #164A40
split-complementary
#26164A #4A4016 #204A16
monochromatic
#0C0718 #0E081B #26164A #3E2479 #5632A8

Accessibility & contrast

On white

16.20
#26164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26164A
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26164A#FFFFFF#000000##FFFFFF
##26164A1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#1C222D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #26164a;
/* rgb */ color: rgb(38, 22, 74);
/* oklch */ color: oklch(25.5% 0.092 292.9);
Tailwind
colors: {
  custom: {
    50: '#64547d',
    500: '#26164a',
    950: '#000000',
  },
}
SCSS
$custom: #26164a;
$custom-light: #64547d;
$custom-dark: #000000;
JSON
{
  "hex": "#26164a",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 258.462,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25511,
    "c": 0.09184,
    "h": 292.9
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#26164A
secondary
#6C823A
accent
#DE4AB0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #26164A

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

Preview Lab → · Contrast checker → · Palette generator →

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