#26156F#26156F

#26156F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.143 H 281.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#26156F
RGBrgb(38, 21, 111)
HSLhsl(251, 68%, 26%)
HSVhsv(251, 81%, 44%)
CMYKcmyk(65.8%, 81.1%, 0%, 56.5%)
CIE-LABlab(15.98, 35.13, -48.68)
CIE-LCHlch(15.98, 60.03, 305.81°)
OKLaboklab(29.14% 0.0284 -0.1405)
OKLCHoklch(29.14% 0.143 281.4)
XYZxyz(3.9358, 2.0958, 15.2330)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26156F #5E6F15
analogous
#15316F #26156F #53156F
triadic
#26156F #6F2615 #156F26
tetradic
#26156F #6F1531 #5E6F15 #156F53
square
#26156F #6F1531 #5E6F15 #156F53
split-complementary
#26156F #6F5315 #316F15
monochromatic
#09051A #140B3C #26156F #381FA2 #4928D6

Accessibility & contrast

On white

14.80
#26156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#26156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26156F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26156F#FFFFFF#000000##FFFFFF
##26156F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26156f;
/* rgb */ color: rgb(38, 21, 111);
/* oklch */ color: oklch(29.1% 0.143 281.4);
Tailwind
colors: {
  custom: {
    50: '#6b5599',
    500: '#26156f',
    950: '#000000',
  },
}
SCSS
$custom: #26156f;
$custom-light: #6b5599;
$custom-dark: #000000;
JSON
{
  "hex": "#26156f",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 251.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29135,
    "c": 0.1433,
    "h": 281.4
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#26156F
secondary
#91A53A
accent
#EB3DCA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #26156F

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

Preview Lab → · Contrast checker → · Palette generator →

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