#26043C#26043C

#26043C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.100 H 307.4°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#26043C
RGBrgb(38, 4, 60)
HSLhsl(276, 88%, 13%)
HSVhsv(276, 93%, 24%)
CMYKcmyk(36.7%, 93.3%, 0%, 76.5%)
CIE-LABlab(7.45, 28.58, -27.91)
CIE-LCHlch(7.45, 39.95, 315.68°)
OKLaboklab(21.52% 0.0608 -0.0795)
OKLCHoklch(21.52% 0.1 307.4)
XYZxyz(1.6582, 0.8252, 4.3460)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26043C #1A3C04
analogous
#0A043C #26043C #3C0436
triadic
#26043C #3C2604 #043C26
tetradic
#26043C #3C0A04 #1A3C04 #04363C
square
#26043C #3C0A04 #1A3C04 #04363C
split-complementary
#26043C #363C04 #043C0A
monochromatic
#12021D #12021D #26043C #4A0875 #6F0CAF

Accessibility & contrast

On white

18.03
#26043C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26043C
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26043C#FFFFFF#000000##FFFFFF
##26043C1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#221320
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #26043c;
/* rgb */ color: rgb(38, 4, 60);
/* oklch */ color: oklch(21.5% 0.100 307.4);
Tailwind
colors: {
  custom: {
    50: '#644872',
    500: '#26043c',
    950: '#000000',
  },
}
SCSS
$custom: #26043c;
$custom-light: #644872;
$custom-dark: #000000;
JSON
{
  "hex": "#26043c",
  "rgb": {
    "r": 38,
    "g": 4,
    "b": 60
  },
  "hsl": {
    "h": 276.429,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21524,
    "c": 0.1001,
    "h": 307.4
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#26043C
secondary
#447E1E
accent
#FE2A7D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #26043C

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

Preview Lab → · Contrast checker → · Palette generator →

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