#26033B#26033B

#26033B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.101 H 308.4°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#26033B
RGBrgb(38, 3, 59)
HSLhsl(278, 90%, 12%)
HSVhsv(278, 95%, 23%)
CMYKcmyk(35.6%, 94.9%, 0%, 76.9%)
CIE-LABlab(7.16, 28.86, -27.66)
CIE-LCHlch(7.16, 39.98, 316.22°)
OKLaboklab(21.28% 0.0625 -0.0789)
OKLCHoklch(21.28% 0.101 308.4)
XYZxyz(1.6211, 0.7930, 4.2045)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26033B #183B03
analogous
#0A033B #26033B #3B0334
triadic
#26033B #3B2603 #033B26
tetradic
#26033B #3B0A03 #183B03 #03343B
square
#26033B #3B0A03 #183B03 #03343B
split-complementary
#26033B #343B03 #033B0A
monochromatic
#13011D #13011D #26033B #4C0675 #7109AF

Accessibility & contrast

On white

18.13
#26033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26033B
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26033B#FFFFFF#000000##FFFFFF
##26033B1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#23111F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #26033b;
/* rgb */ color: rgb(38, 3, 59);
/* oklch */ color: oklch(21.3% 0.101 308.4);
Tailwind
colors: {
  custom: {
    50: '#644871',
    500: '#26033b',
    950: '#000000',
  },
}
SCSS
$custom: #26033b;
$custom-light: #644871;
$custom-dark: #000000;
JSON
{
  "hex": "#26033b",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 277.5,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21279,
    "c": 0.10065,
    "h": 308.4
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#26033B
secondary
#417E1C
accent
#FF2979
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060008
muted
#7A777B

Preview Lab

Preview with #26033B

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

Preview Lab → · Contrast checker → · Palette generator →

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