#26166D#26166D

#26166D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.140 H 281.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#26166D
RGBrgb(38, 22, 109)
HSLhsl(251, 66%, 26%)
HSVhsv(251, 80%, 43%)
CMYKcmyk(65.1%, 79.8%, 0%, 57.3%)
CIE-LABlab(15.95, 33.93, -47.43)
CIE-LCHlch(15.95, 58.32, 305.58°)
OKLaboklab(29.05% 0.0283 -0.1368)
OKLCHoklch(29.05% 0.14 281.7)
XYZxyz(3.8457, 2.0897, 14.6657)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26166D #5D6D16
analogous
#16326D #26166D #51166D
triadic
#26166D #6D2616 #166D26
tetradic
#26166D #6D1632 #5D6D16 #166D51
square
#26166D #6D1632 #5D6D16 #166D51
split-complementary
#26166D #6D5116 #326D16
monochromatic
#090519 #140C3A #26166D #3820A0 #4A2BD3

Accessibility & contrast

On white

14.81
#26166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#26166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26166D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26166D#FFFFFF#000000##FFFFFF
##26166D1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #26166d;
/* rgb */ color: rgb(38, 22, 109);
/* oklch */ color: oklch(29.0% 0.140 281.7);
Tailwind
colors: {
  custom: {
    50: '#6b5698',
    500: '#26166d',
    950: '#000000',
  },
}
SCSS
$custom: #26166d;
$custom-light: #6b5698;
$custom-dark: #000000;
JSON
{
  "hex": "#26166d",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 251.034,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29047,
    "c": 0.13972,
    "h": 281.7
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#26166D
secondary
#90A33C
accent
#E93ECA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26166D

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

Preview Lab → · Contrast checker → · Palette generator →

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