#26186B#26186B

#26186B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.135 H 281.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#26186B
RGBrgb(38, 24, 107)
HSLhsl(250, 63%, 26%)
HSVhsv(250, 78%, 42%)
CMYKcmyk(64.5%, 77.6%, 0%, 58%)
CIE-LABlab(16.14, 32.13, -45.82)
CIE-LCHlch(16.14, 55.96, 305.04°)
OKLaboklab(29.11% 0.0274 -0.1321)
OKLCHoklch(29.11% 0.135 281.7)
XYZxyz(3.7790, 2.1266, 14.1184)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26186B #5D6B18
analogous
#18346B #26186B #4F186B
triadic
#26186B #6B2618 #186B26
tetradic
#26186B #6B1834 #5D6B18 #186B4F
square
#26186B #6B1834 #5D6B18 #186B4F
split-complementary
#26186B #6B4F18 #346B18
monochromatic
#090619 #140D39 #26186B #38239D #4A2ECF

Accessibility & contrast

On white

14.73
#26186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#26186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26186B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26186B#FFFFFF#000000##FFFFFF
##26186B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #26186b;
/* rgb */ color: rgb(38, 24, 107);
/* oklch */ color: oklch(29.1% 0.135 281.7);
Tailwind
colors: {
  custom: {
    50: '#6a5796',
    500: '#26186b',
    950: '#000000',
  },
}
SCSS
$custom: #26186b;
$custom-light: #6a5796;
$custom-dark: #000000;
JSON
{
  "hex": "#26186b",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 250.12,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29114,
    "c": 0.13493,
    "h": 281.7
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#26186B
secondary
#90A13E
accent
#E641CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #26186B

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

Preview Lab → · Contrast checker → · Palette generator →

#26186B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva