#26043F#26043F

#26043F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.103 H 305.3°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#26043F
RGBrgb(38, 4, 63)
HSLhsl(275, 88%, 13%)
HSVhsv(275, 94%, 25%)
CMYKcmyk(39.7%, 93.7%, 0%, 75.3%)
CIE-LABlab(7.75, 29.41, -29.59)
CIE-LCHlch(7.75, 41.71, 314.82°)
OKLaboklab(21.83% 0.0597 -0.0844)
OKLCHoklch(21.83% 0.103 305.3)
XYZxyz(1.7397, 0.8578, 4.7756)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26043F #1D3F04
analogous
#08043F #26043F #3F043A
triadic
#26043F #3F2604 #043F26
tetradic
#26043F #3F0804 #1D3F04 #043A3F
square
#26043F #3F0804 #1D3F04 #043A3F
split-complementary
#26043F #3A3F04 #043F08
monochromatic
#11021D #11021D #26043F #490879 #6B0BB2

Accessibility & contrast

On white

17.92
#26043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#26043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26043F
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26043F#FFFFFF#000000##FFFFFF
##26043F1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#211422
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #26043f;
/* rgb */ color: rgb(38, 4, 63);
/* oklch */ color: oklch(21.8% 0.103 305.3);
Tailwind
colors: {
  custom: {
    50: '#644975',
    500: '#26043f',
    950: '#000000',
  },
}
SCSS
$custom: #26043f;
$custom-light: #644975;
$custom-dark: #000000;
JSON
{
  "hex": "#26043f",
  "rgb": {
    "r": 38,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 274.576,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21829,
    "c": 0.10335,
    "h": 305.3
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#26043F
secondary
#48801E
accent
#FE2A84
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #26043F

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

Preview Lab → · Contrast checker → · Palette generator →

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