#26166C#26166C

#26166C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.138 H 281.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#26166C
RGBrgb(38, 22, 108)
HSLhsl(251, 66%, 25%)
HSVhsv(251, 80%, 42%)
CMYKcmyk(64.8%, 79.6%, 0%, 57.6%)
CIE-LABlab(15.84, 33.60, -46.96)
CIE-LCHlch(15.84, 57.74, 305.59°)
OKLaboklab(28.94% 0.0286 -0.1354)
OKLCHoklch(28.94% 0.138 281.9)
XYZxyz(3.7922, 2.0683, 14.3838)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26166C #5C6C16
analogous
#16316C #26166C #51166C
triadic
#26166C #6C2616 #166C26
tetradic
#26166C #6C1631 #5C6C16 #166C51
square
#26166C #6C1631 #5C6C16 #166C51
split-complementary
#26166C #6C5116 #316C16
monochromatic
#090519 #140C39 #26166C #38209F #4A2BD2

Accessibility & contrast

On white

14.85
#26166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26166C
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26166C#FFFFFF#000000##FFFFFF
##26166C1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26166c;
/* rgb */ color: rgb(38, 22, 108);
/* oklch */ color: oklch(28.9% 0.138 281.9);
Tailwind
colors: {
  custom: {
    50: '#6b5697',
    500: '#26166c',
    950: '#000000',
  },
}
SCSS
$custom: #26166c;
$custom-light: #6b5697;
$custom-dark: #000000;
JSON
{
  "hex": "#26166c",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 251.163,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.13842,
    "h": 281.9
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#26166C
secondary
#8FA23C
accent
#E93FC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26166C

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

Preview Lab → · Contrast checker → · Palette generator →

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