#26104C#26104C

#26104C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.103 H 294.3°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#26104C
RGBrgb(38, 16, 76)
HSLhsl(262, 65%, 18%)
HSVhsv(262, 79%, 30%)
CMYKcmyk(50%, 78.9%, 0%, 70.2%)
CIE-LABlab(11.31, 26.69, -32.92)
CIE-LCHlch(11.31, 42.38, 309.03°)
OKLaboklab(24.73% 0.0426 -0.0943)
OKLCHoklch(24.73% 0.103 294.3)
XYZxyz(2.2888, 1.3044, 6.9673)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26104C #364C10
analogous
#10184C #26104C #44104C
triadic
#26104C #4C2610 #104C26
tetradic
#26104C #4C1018 #364C10 #104C44
square
#26104C #4C1018 #364C10 #104C44
split-complementary
#26104C #4C4410 #184C10
monochromatic
#0D0519 #0D0519 #26104C #3F1B7F #5925B1

Accessibility & contrast

On white

16.66
#26104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#26104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26104C
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26104C#FFFFFF#000000##FFFFFF
##26104C1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#1B1F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #26104c;
/* rgb */ color: rgb(38, 16, 76);
/* oklch */ color: oklch(24.7% 0.103 294.3);
Tailwind
colors: {
  custom: {
    50: '#65507f',
    500: '#26104c',
    950: '#000000',
  },
}
SCSS
$custom: #26104c;
$custom-light: #65507f;
$custom-dark: #000000;
JSON
{
  "hex": "#26104c",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 262,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24725,
    "c": 0.10344,
    "h": 294.3
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#26104C
secondary
#678632
accent
#E840AA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #26104C

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

Preview Lab → · Contrast checker → · Palette generator →

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