#26155F#26155F

#26155F is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.4% C 0.122 H 285.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#26155F
RGBrgb(38, 21, 95)
HSLhsl(254, 64%, 23%)
HSVhsv(254, 78%, 37%)
CMYKcmyk(60%, 77.9%, 0%, 62.7%)
CIE-LABlab(14.26, 29.89, -40.99)
CIE-LCHlch(14.26, 50.73, 306.10°)
OKLaboklab(27.4% 0.0329 -0.118)
OKLCHoklch(27.4% 0.122 285.6)
XYZxyz(3.1324, 1.7744, 11.0017)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26155F #4E5F15
analogous
#15295F #26155F #4B155F
triadic
#26155F #5F2615 #155F26
tetradic
#26155F #5F1529 #4E5F15 #155F4B
square
#26155F #5F1529 #4E5F15 #155F4B
split-complementary
#26155F #5F4B15 #295F15
monochromatic
#0A0619 #120A2D #26155F #3A2091 #4E2BC3

Accessibility & contrast

On white

15.50
#26155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#26155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26155F
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26155F#FFFFFF#000000##FFFFFF
##26155F1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#0B2938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #26155f;
/* rgb */ color: rgb(38, 21, 95);
/* oklch */ color: oklch(27.4% 0.122 285.6);
Tailwind
colors: {
  custom: {
    50: '#68548d',
    500: '#26155f',
    950: '#000000',
  },
}
SCSS
$custom: #26155f;
$custom-light: #68548d;
$custom-dark: #000000;
JSON
{
  "hex": "#26155f",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 253.784,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27401,
    "c": 0.12247,
    "h": 285.6
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#26155F
secondary
#81963A
accent
#E741C1
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #26155F

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

Preview Lab → · Contrast checker → · Palette generator →

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