#26166A#26166A

#26166A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.136 H 282.4°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#26166A
RGBrgb(38, 22, 106)
HSLhsl(251, 66%, 25%)
HSVhsv(251, 79%, 42%)
CMYKcmyk(64.2%, 79.2%, 0%, 58.4%)
CIE-LABlab(15.62, 32.95, -46.01)
CIE-LCHlch(15.62, 56.59, 305.60°)
OKLaboklab(28.72% 0.0291 -0.1327)
OKLCHoklch(28.72% 0.136 282.4)
XYZxyz(3.6869, 2.0262, 13.8297)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26166A #5A6A16
analogous
#16306A #26166A #50166A
triadic
#26166A #6A2616 #166A26
tetradic
#26166A #6A1630 #5A6A16 #166A50
square
#26166A #6A1630 #5A6A16 #166A50
split-complementary
#26166A #6A5016 #306A16
monochromatic
#090519 #140B37 #26166A #38219D #4A2BCF

Accessibility & contrast

On white

14.94
#26166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26166A
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26166A#FFFFFF#000000##FFFFFF
##26166A1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.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: #26166a;
/* rgb */ color: rgb(38, 22, 106);
/* oklch */ color: oklch(28.7% 0.136 282.4);
Tailwind
colors: {
  custom: {
    50: '#6a5596',
    500: '#26166a',
    950: '#000000',
  },
}
SCSS
$custom: #26166a;
$custom-light: #6a5596;
$custom-dark: #000000;
JSON
{
  "hex": "#26166a",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 251.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28719,
    "c": 0.13583,
    "h": 282.4
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#26166A
secondary
#8DA03B
accent
#E93FC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #26166A

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

Preview Lab → · Contrast checker → · Palette generator →

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