#26034E#26034E

#26034E is a very dark, vivid violet. Relative luminance 0.010; OKLCH L 23.3% C 0.121 H 296.5°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#26034E
RGBrgb(38, 3, 78)
HSLhsl(268, 93%, 16%)
HSVhsv(268, 96%, 31%)
CMYKcmyk(51.3%, 96.2%, 0%, 69.4%)
CIE-LABlab(9.22, 33.95, -37.73)
CIE-LCHlch(9.22, 50.76, 311.98°)
OKLaboklab(23.34% 0.0541 -0.1082)
OKLCHoklch(23.34% 0.121 296.5)
XYZxyz(2.2067, 1.0272, 7.2883)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26034E #2B4E03
analogous
#03054E #26034E #4B034E
triadic
#26034E #4E2603 #034E26
tetradic
#26034E #4E0305 #2B4E03 #034E4B
square
#26034E #4E0305 #2B4E03 #034E4B
split-complementary
#26034E #4E4B03 #054E03
monochromatic
#0E011D #0E011D #26034E #430589 #5F08C4

Accessibility & contrast

On white

17.42
#26034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#26034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26034E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26034E#FFFFFF#000000##FFFFFF
##26034E1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#1B1A2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #26034e;
/* rgb */ color: rgb(38, 3, 78);
/* oklch */ color: oklch(23.3% 0.121 296.5);
Tailwind
colors: {
  custom: {
    50: '#664980',
    500: '#26034e',
    950: '#000000',
  },
}
SCSS
$custom: #26034e;
$custom-light: #664980;
$custom-dark: #000000;
JSON
{
  "hex": "#26034e",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 268,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23338,
    "c": 0.12097,
    "h": 296.5
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#26034E
secondary
#5A8E1E
accent
#FF299B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #26034E

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

Preview Lab → · Contrast checker → · Palette generator →

#26034E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva