#26145B#26145B

#26145B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.118 H 287.1°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#26145B
RGBrgb(38, 20, 91)
HSLhsl(255, 64%, 22%)
HSVhsv(255, 78%, 36%)
CMYKcmyk(58.2%, 78%, 0%, 64.3%)
CIE-LABlab(13.64, 29.16, -39.33)
CIE-LCHlch(13.64, 48.96, 306.56°)
OKLaboklab(26.84% 0.0348 -0.1131)
OKLCHoklch(26.84% 0.118 287.1)
XYZxyz(2.9373, 1.6676, 10.0626)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26145B #495B14
analogous
#14265B #26145B #4A145B
triadic
#26145B #5B2614 #145B26
tetradic
#26145B #5B1426 #495B14 #145B4A
square
#26145B #5B1426 #495B14 #145B4A
split-complementary
#26145B #5B4A14 #265B14
monochromatic
#0A0619 #110929 #26145B #3B1F8D #502ABF

Accessibility & contrast

On white

15.75
#26145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#26145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26145B
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26145B#FFFFFF#000000##FFFFFF
##26145B1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26145b;
/* rgb */ color: rgb(38, 20, 91);
/* oklch */ color: oklch(26.8% 0.118 287.1);
Tailwind
colors: {
  custom: {
    50: '#67538a',
    500: '#26145b',
    950: '#000000',
  },
}
SCSS
$custom: #26145b;
$custom-light: #67538a;
$custom-dark: #000000;
JSON
{
  "hex": "#26145b",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 255.211,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26837,
    "c": 0.11833,
    "h": 287.1
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#26145B
secondary
#7C9338
accent
#E741BD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #26145B

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

Preview Lab → · Contrast checker → · Palette generator →

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