#26043B#26043B

#26043B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.099 H 308.1°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#26043B
RGBrgb(38, 4, 59)
HSLhsl(277, 87%, 12%)
HSVhsv(277, 93%, 23%)
CMYKcmyk(35.6%, 93.2%, 0%, 76.9%)
CIE-LABlab(7.36, 28.31, -27.35)
CIE-LCHlch(7.36, 39.36, 315.99°)
OKLaboklab(21.42% 0.0611 -0.0779)
OKLCHoklch(21.42% 0.099 308.1)
XYZxyz(1.6320, 0.8147, 4.2081)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26043B #193B04
analogous
#0B043B #26043B #3B0435
triadic
#26043B #3B2604 #043B26
tetradic
#26043B #3B0B04 #193B04 #04353B
square
#26043B #3B0B04 #193B04 #04353B
split-complementary
#26043B #353B04 #043B0B
monochromatic
#12021D #12021D #26043B #4B0874 #700CAE

Accessibility & contrast

On white

18.06
#26043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26043B
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26043B#FFFFFF#000000##FFFFFF
##26043B1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#231220
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #26043b;
/* rgb */ color: rgb(38, 4, 59);
/* oklch */ color: oklch(21.4% 0.099 308.1);
Tailwind
colors: {
  custom: {
    50: '#644871',
    500: '#26043b',
    950: '#000000',
  },
}
SCSS
$custom: #26043b;
$custom-light: #644871;
$custom-dark: #000000;
JSON
{
  "hex": "#26043b",
  "rgb": {
    "r": 38,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 277.091,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21424,
    "c": 0.09902,
    "h": 308.1
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#26043B
secondary
#427D1E
accent
#FD2A7B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #26043B

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

Preview Lab → · Contrast checker → · Palette generator →

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