#26155B#26155B

#26155B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.117 H 286.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#26155B
RGBrgb(38, 21, 91)
HSLhsl(255, 63%, 22%)
HSVhsv(255, 77%, 36%)
CMYKcmyk(58.2%, 76.9%, 0%, 64.3%)
CIE-LABlab(13.85, 28.57, -38.98)
CIE-LCHlch(13.85, 48.33, 306.24°)
OKLaboklab(26.99% 0.0339 -0.1121)
OKLCHoklch(26.99% 0.117 286.8)
XYZxyz(2.9553, 1.7036, 10.0686)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26155B #4A5B15
analogous
#15275B #26155B #49155B
triadic
#26155B #5B2615 #155B26
tetradic
#26155B #5B1527 #4A5B15 #155B49
square
#26155B #5B1527 #4A5B15 #155B49
split-complementary
#26155B #5B4915 #275B15
monochromatic
#0A0619 #110A29 #26155B #3B208D #502CBE

Accessibility & contrast

On white

15.66
#26155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26155B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26155B#FFFFFF#000000##FFFFFF
##26155B1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#102836
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #26155b;
/* rgb */ color: rgb(38, 21, 91);
/* oklch */ color: oklch(27.0% 0.117 286.8);
Tailwind
colors: {
  custom: {
    50: '#67548a',
    500: '#26155b',
    950: '#000000',
  },
}
SCSS
$custom: #26155b;
$custom-light: #67548a;
$custom-dark: #000000;
JSON
{
  "hex": "#26155b",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 254.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26987,
    "c": 0.11709,
    "h": 286.8
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#26155B
secondary
#7D9239
accent
#E642BE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #26155B

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

Preview Lab → · Contrast checker → · Palette generator →

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