#26043A#26043A

#26043A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.098 H 308.9°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#26043A
RGBrgb(38, 4, 58)
HSLhsl(278, 87%, 12%)
HSVhsv(278, 93%, 23%)
CMYKcmyk(34.5%, 93.1%, 0%, 77.3%)
CIE-LABlab(7.27, 28.03, -26.77)
CIE-LCHlch(7.27, 38.76, 316.31°)
OKLaboklab(21.33% 0.0615 -0.0762)
OKLCHoklch(21.33% 0.098 308.9)
XYZxyz(1.6063, 0.8044, 4.0728)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26043A #183A04
analogous
#0B043A #26043A #3A0433
triadic
#26043A #3A2604 #043A26
tetradic
#26043A #3A0B04 #183A04 #04333A
square
#26043A #3A0B04 #183A04 #04333A
split-complementary
#26043A #333A04 #043A0B
monochromatic
#13021D #13021D #26043A #4C0873 #710CAD

Accessibility & contrast

On white

18.09
#26043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#26043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26043A
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26043A#FFFFFF#000000##FFFFFF
##26043A1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#23121F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #26043a;
/* rgb */ color: rgb(38, 4, 58);
/* oklch */ color: oklch(21.3% 0.098 308.9);
Tailwind
colors: {
  custom: {
    50: '#634871',
    500: '#26043a',
    950: '#000000',
  },
}
SCSS
$custom: #26043a;
$custom-light: #634871;
$custom-dark: #000000;
JSON
{
  "hex": "#26043a",
  "rgb": {
    "r": 38,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 277.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21325,
    "c": 0.09793,
    "h": 308.9
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#26043A
secondary
#417C1E
accent
#FD2B79
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #26043A

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

Preview Lab → · Contrast checker → · Palette generator →

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