#26136F#26136F

#26136F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.145 H 281.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#26136F
RGBrgb(38, 19, 111)
HSLhsl(252, 71%, 25%)
HSVhsv(252, 83%, 44%)
CMYKcmyk(65.8%, 82.9%, 0%, 56.5%)
CIE-LABlab(15.62, 36.17, -49.28)
CIE-LCHlch(15.62, 61.13, 306.28°)
OKLaboklab(28.88% 0.0297 -0.1422)
OKLCHoklch(28.88% 0.145 281.8)
XYZxyz(3.9005, 2.0252, 15.2212)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26136F #5C6F13
analogous
#132E6F #26136F #54136F
triadic
#26136F #6F2613 #136F26
tetradic
#26136F #6F132E #5C6F13 #136F54
square
#26136F #6F132E #5C6F13 #136F54
split-complementary
#26136F #6F5413 #2E6F13
monochromatic
#09041A #140A3B #26136F #381CA3 #4A25D8

Accessibility & contrast

On white

14.94
#26136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#26136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26136F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26136F#FFFFFF#000000##FFFFFF
##26136F1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #26136f;
/* rgb */ color: rgb(38, 19, 111);
/* oklch */ color: oklch(28.9% 0.145 281.8);
Tailwind
colors: {
  custom: {
    50: '#6c5499',
    500: '#26136f',
    950: '#000000',
  },
}
SCSS
$custom: #26136f;
$custom-light: #6c5499;
$custom-dark: #000000;
JSON
{
  "hex": "#26136f",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 252.391,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28882,
    "c": 0.14525,
    "h": 281.8
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#26136F
secondary
#8FA638
accent
#EE3AC9
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #26136F

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

Preview Lab → · Contrast checker → · Palette generator →

#26136F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva