#26074E#26074E

#26074E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.116 H 295.6°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#26074E
RGBrgb(38, 7, 78)
HSLhsl(266, 84%, 17%)
HSVhsv(266, 91%, 31%)
CMYKcmyk(51.3%, 91%, 0%, 69.4%)
CIE-LABlab(9.91, 31.90, -36.59)
CIE-LCHlch(9.91, 48.54, 311.08°)
OKLaboklab(23.81% 0.0504 -0.105)
OKLCHoklch(23.81% 0.116 295.6)
XYZxyz(2.2501, 1.1140, 7.3027)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26074E #2F4E07
analogous
#070C4E #26074E #4A074E
triadic
#26074E #4E2607 #074E26
tetradic
#26074E #4E070C #2F4E07 #074E4A
square
#26074E #4E070C #2F4E07 #074E4A
split-complementary
#26074E #4E4A07 #0C4E07
monochromatic
#0E031C #0E031C #26074E #410C86 #5D11BE

Accessibility & contrast

On white

17.17
#26074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#26074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26074E
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26074E#FFFFFF#000000##FFFFFF
##26074E1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#1A1C2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #26074e;
/* rgb */ color: rgb(38, 7, 78);
/* oklch */ color: oklch(23.8% 0.116 295.6);
Tailwind
colors: {
  custom: {
    50: '#664c80',
    500: '#26074e',
    950: '#000000',
  },
}
SCSS
$custom: #26074e;
$custom-light: #664c80;
$custom-dark: #000000;
JSON
{
  "hex": "#26074e",
  "rgb": {
    "r": 38,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 266.197,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2381,
    "c": 0.11643,
    "h": 295.6
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#26074E
secondary
#5F8C25
accent
#FA2EA1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #26074E

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

Preview Lab → · Contrast checker → · Palette generator →

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