#26156A#26156A

#26156A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.137 H 282.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#26156A
RGBrgb(38, 21, 106)
HSLhsl(252, 67%, 25%)
HSVhsv(252, 80%, 42%)
CMYKcmyk(64.2%, 80.2%, 0%, 58.4%)
CIE-LABlab(15.43, 33.50, -46.33)
CIE-LCHlch(15.43, 57.18, 305.87°)
OKLaboklab(28.58% 0.0299 -0.1336)
OKLCHoklch(28.58% 0.137 282.6)
XYZxyz(3.6682, 1.9888, 13.8234)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26156A #596A15
analogous
#152F6A #26156A #51156A
triadic
#26156A #6A2615 #156A26
tetradic
#26156A #6A152F #596A15 #156A51
square
#26156A #6A152F #596A15 #156A51
split-complementary
#26156A #6A5115 #2F6A15
monochromatic
#09051A #140B37 #26156A #381F9D #4B29D0

Accessibility & contrast

On white

15.02
#26156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#26156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26156A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26156A#FFFFFF#000000##FFFFFF
##26156A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26156a;
/* rgb */ color: rgb(38, 21, 106);
/* oklch */ color: oklch(28.6% 0.137 282.6);
Tailwind
colors: {
  custom: {
    50: '#6a5596',
    500: '#26156a',
    950: '#000000',
  },
}
SCSS
$custom: #26156a;
$custom-light: #6a5596;
$custom-dark: #000000;
JSON
{
  "hex": "#26156a",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 252,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28581,
    "c": 0.1369,
    "h": 282.6
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#26156A
secondary
#8CA13A
accent
#EA3EC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #26156A

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

Preview Lab → · Contrast checker → · Palette generator →

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