#26146F#26146F

#26146F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 281.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#26146F
RGBrgb(38, 20, 111)
HSLhsl(252, 69%, 26%)
HSVhsv(252, 82%, 44%)
CMYKcmyk(65.8%, 82%, 0%, 56.5%)
CIE-LABlab(15.80, 35.66, -48.99)
CIE-LCHlch(15.80, 60.59, 306.05°)
OKLaboklab(29.01% 0.0291 -0.1413)
OKLCHoklch(29.01% 0.144 281.6)
XYZxyz(3.9178, 2.0598, 15.2270)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26146F #5D6F14
analogous
#142F6F #26146F #53146F
triadic
#26146F #6F2614 #146F26
tetradic
#26146F #6F142F #5D6F14 #146F53
square
#26146F #6F142F #5D6F14 #146F53
split-complementary
#26146F #6F5314 #2F6F14
monochromatic
#09051A #140B3B #26146F #381DA3 #4A27D7

Accessibility & contrast

On white

14.87
#26146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26146F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26146F#FFFFFF#000000##FFFFFF
##26146F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.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: #26146f;
/* rgb */ color: rgb(38, 20, 111);
/* oklch */ color: oklch(29.0% 0.144 281.6);
Tailwind
colors: {
  custom: {
    50: '#6b5599',
    500: '#26146f',
    950: '#000000',
  },
}
SCSS
$custom: #26146f;
$custom-light: #6b5599;
$custom-dark: #000000;
JSON
{
  "hex": "#26146f",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 251.868,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29007,
    "c": 0.14429,
    "h": 281.6
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#26146F
secondary
#90A639
accent
#EC3CC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #26146F

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

Preview Lab → · Contrast checker → · Palette generator →

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