#26166F#26166F

#26166F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.142 H 281.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#26166F
RGBrgb(38, 22, 111)
HSLhsl(251, 67%, 26%)
HSVhsv(251, 80%, 44%)
CMYKcmyk(65.8%, 80.2%, 0%, 56.5%)
CIE-LABlab(16.17, 34.59, -48.37)
CIE-LCHlch(16.17, 59.46, 305.56°)
OKLaboklab(29.27% 0.0277 -0.1396)
OKLCHoklch(29.27% 0.142 281.2)
XYZxyz(3.9546, 2.1333, 15.2392)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26166F #5F6F16
analogous
#16326F #26166F #52166F
triadic
#26166F #6F2616 #166F26
tetradic
#26166F #6F1632 #5F6F16 #166F52
square
#26166F #6F1632 #5F6F16 #166F52
split-complementary
#26166F #6F5216 #326F16
monochromatic
#09051A #150C3C #26166F #3720A2 #492BD5

Accessibility & contrast

On white

14.72
#26166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#26166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26166F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26166F#FFFFFF#000000##FFFFFF
##26166F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #26166f;
/* rgb */ color: rgb(38, 22, 111);
/* oklch */ color: oklch(29.3% 0.142 281.2);
Tailwind
colors: {
  custom: {
    50: '#6b5699',
    500: '#26166f',
    950: '#000000',
  },
}
SCSS
$custom: #26166f;
$custom-light: #6b5699;
$custom-dark: #000000;
JSON
{
  "hex": "#26166f",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 250.787,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29268,
    "c": 0.14229,
    "h": 281.2
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#26166F
secondary
#92A53C
accent
#EA3ECB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26166F

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

Preview Lab → · Contrast checker → · Palette generator →

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