#26164F#26164F

#26164F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.099 H 290.8°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#26164F
RGBrgb(38, 22, 79)
HSLhsl(257, 56%, 20%)
HSVhsv(257, 72%, 31%)
CMYKcmyk(51.9%, 72.2%, 0%, 69%)
CIE-LABlab(12.92, 23.97, -32.34)
CIE-LCHlch(12.92, 40.26, 306.54°)
OKLaboklab(25.97% 0.0351 -0.0926)
OKLCHoklch(25.97% 0.099 290.8)
XYZxyz(2.4971, 1.5503, 7.5633)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26164F #3F4F16
analogous
#16234F #26164F #43164F
triadic
#26164F #4F2616 #164F26
tetradic
#26164F #4F1623 #3F4F16 #164F43
square
#26164F #4F1623 #3F4F16 #164F43
split-complementary
#26164F #4F4316 #234F16
monochromatic
#0C0718 #0F091F #26164F #3D237F #5431AF

Accessibility & contrast

On white

16.03
#26164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#26164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26164F
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26164F#FFFFFF#000000##FFFFFF
##26164F1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#192430
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #26164f;
/* rgb */ color: rgb(38, 22, 79);
/* oklch */ color: oklch(26.0% 0.099 290.8);
Tailwind
colors: {
  custom: {
    50: '#655481',
    500: '#26164f',
    950: '#000000',
  },
}
SCSS
$custom: #26164f;
$custom-light: #655481;
$custom-dark: #000000;
JSON
{
  "hex": "#26164f",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 256.842,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2597,
    "c": 0.09904,
    "h": 290.8
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#26164F
secondary
#71863A
accent
#E048B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #26164F

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

Preview Lab → · Contrast checker → · Palette generator →

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