#26155A#26155A

#26155A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.116 H 287.1°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#26155A
RGBrgb(38, 21, 90)
HSLhsl(255, 62%, 22%)
HSVhsv(255, 77%, 35%)
CMYKcmyk(57.8%, 76.7%, 0%, 64.7%)
CIE-LABlab(13.75, 28.24, -38.47)
CIE-LCHlch(13.75, 47.73, 306.28°)
OKLaboklab(26.89% 0.0341 -0.1106)
OKLCHoklch(26.89% 0.116 287.1)
XYZxyz(2.9124, 1.6864, 9.8429)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26155A #495A15
analogous
#15275A #26155A #49155A
triadic
#26155A #5A2615 #155A26
tetradic
#26155A #5A1527 #495A15 #155A49
square
#26155A #5A1527 #495A15 #155A49
split-complementary
#26155A #5A4915 #275A15
monochromatic
#0A0619 #110928 #26155A #3B218C #502CBD

Accessibility & contrast

On white

15.70
#26155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#26155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26155A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26155A#FFFFFF#000000##FFFFFF
##26155A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#112736
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26155a;
/* rgb */ color: rgb(38, 21, 90);
/* oklch */ color: oklch(26.9% 0.116 287.1);
Tailwind
colors: {
  custom: {
    50: '#675489',
    500: '#26155a',
    950: '#000000',
  },
}
SCSS
$custom: #26155a;
$custom-light: #675489;
$custom-dark: #000000;
JSON
{
  "hex": "#26155a",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 254.783,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26885,
    "c": 0.11574,
    "h": 287.1
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#26155A
secondary
#7C9239
accent
#E543BD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #26155A

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

Preview Lab → · Contrast checker → · Palette generator →

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