#26023B#26023B

#26023B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.102 H 308.7°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#26023B
RGBrgb(38, 2, 59)
HSLhsl(278, 93%, 12%)
HSVhsv(278, 97%, 23%)
CMYKcmyk(35.6%, 96.6%, 0%, 76.9%)
CIE-LABlab(6.97, 29.42, -27.98)
CIE-LCHlch(6.97, 40.60, 316.44°)
OKLaboklab(21.13% 0.064 -0.0799)
OKLCHoklch(21.13% 0.102 308.7)
XYZxyz(1.6103, 0.7713, 4.2009)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26023B #173B02
analogous
#0A023B #26023B #3B0234
triadic
#26023B #3B2602 #023B26
tetradic
#26023B #3B0A02 #173B02 #02343B
square
#26023B #3B0A02 #173B02 #02343B
split-complementary
#26023B #343B02 #023B0A
monochromatic
#13011E #13011E #26023B #4C0476 #7206B1

Accessibility & contrast

On white

18.19
#26023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#26023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26023B
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26023B#FFFFFF#000000##FFFFFF
##26023B1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26023b;
/* rgb */ color: rgb(38, 2, 59);
/* oklch */ color: oklch(21.1% 0.102 308.7);
Tailwind
colors: {
  custom: {
    50: '#644771',
    500: '#26023b',
    950: '#000000',
  },
}
SCSS
$custom: #26023b;
$custom-light: #644771;
$custom-dark: #000000;
JSON
{
  "hex": "#26023b",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 277.895,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21132,
    "c": 0.10233,
    "h": 308.7
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#26023B
secondary
#3F7E1A
accent
#FF2978
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060008
muted
#7A777B

Preview Lab

Preview with #26023B

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

Preview Lab → · Contrast checker → · Palette generator →

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