#26176F#26176F

#26176F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.141 H 281.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#26176F
RGBrgb(38, 23, 111)
HSLhsl(250, 66%, 26%)
HSVhsv(250, 79%, 44%)
CMYKcmyk(65.8%, 79.3%, 0%, 56.5%)
CIE-LABlab(16.37, 34.03, -48.05)
CIE-LCHlch(16.37, 58.88, 305.31°)
OKLaboklab(29.4% 0.0271 -0.1386)
OKLCHoklch(29.4% 0.141 281)
XYZxyz(3.9741, 2.1723, 15.2457)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26176F #606F17
analogous
#17346F #26176F #52176F
triadic
#26176F #6F2617 #176F26
tetradic
#26176F #6F1734 #606F17 #176F52
square
#26176F #6F1734 #606F17 #176F52
split-complementary
#26176F #6F5217 #346F17
monochromatic
#090519 #150C3C #26176F #3722A2 #492DD3

Accessibility & contrast

On white

14.64
#26176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26176F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26176F#FFFFFF#000000##FFFFFF
##26176F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26176f;
/* rgb */ color: rgb(38, 23, 111);
/* oklch */ color: oklch(29.4% 0.141 281.0);
Tailwind
colors: {
  custom: {
    50: '#6b5699',
    500: '#26176f',
    950: '#000000',
  },
}
SCSS
$custom: #26176f;
$custom-light: #6b5699;
$custom-dark: #000000;
JSON
{
  "hex": "#26176f",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 250.227,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29405,
    "c": 0.14125,
    "h": 281
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#26176F
secondary
#93A53D
accent
#E93FCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #26176F

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

Preview Lab → · Contrast checker → · Palette generator →

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