#26023A#26023A

#26023A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.101 H 309.4°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#26023A
RGBrgb(38, 2, 58)
HSLhsl(279, 93%, 12%)
HSVhsv(279, 97%, 23%)
CMYKcmyk(34.5%, 96.6%, 0%, 77.3%)
CIE-LABlab(6.87, 29.14, -27.41)
CIE-LCHlch(6.87, 40.00, 316.75°)
OKLaboklab(21.03% 0.0644 -0.0782)
OKLCHoklch(21.03% 0.101 309.4)
XYZxyz(1.5846, 0.7610, 4.0656)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26023A #163A02
analogous
#0A023A #26023A #3A0232
triadic
#26023A #3A2602 #023A26
tetradic
#26023A #3A0A02 #163A02 #02323A
square
#26023A #3A0A02 #163A02 #02323A
split-complementary
#26023A #323A02 #023A0A
monochromatic
#13011E #13011E #26023A #4D0475 #7406B0

Accessibility & contrast

On white

18.23
#26023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26023A
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26023A#FFFFFF#000000##FFFFFF
##26023A1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#23101F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #26023a;
/* rgb */ color: rgb(38, 2, 58);
/* oklch */ color: oklch(21.0% 0.101 309.4);
Tailwind
colors: {
  custom: {
    50: '#644771',
    500: '#26023a',
    950: '#000000',
  },
}
SCSS
$custom: #26023a;
$custom-light: #644771;
$custom-dark: #000000;
JSON
{
  "hex": "#26023a",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 278.571,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2103,
    "c": 0.1013,
    "h": 309.4
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#26023A
secondary
#3E7D1A
accent
#FF2975
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060007
muted
#7A777A

Preview Lab

Preview with #26023A

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

Preview Lab → · Contrast checker → · Palette generator →

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