#26137B#26137B

#26137B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.160 H 279.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#26137B
RGBrgb(38, 19, 123)
HSLhsl(251, 73%, 28%)
HSVhsv(251, 85%, 48%)
CMYKcmyk(69.1%, 84.6%, 0%, 51.8%)
CIE-LABlab(17.02, 39.95, -54.70)
CIE-LCHlch(17.02, 67.73, 306.14°)
OKLaboklab(30.27% 0.0257 -0.1579)
OKLCHoklch(30.27% 0.16 279.2)
XYZxyz(4.6062, 2.3075, 18.9377)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26137B #687B13
analogous
#13347B #26137B #5A137B
triadic
#26137B #7B2613 #137B26
tetradic
#26137B #7B1334 #687B13 #137B5A
square
#26137B #7B1334 #687B13 #137B5A
split-complementary
#26137B #7B5A13 #347B13
monochromatic
#08041B #160B46 #26137B #361BB0 #4B2ADE

Accessibility & contrast

On white

14.37
#26137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#26137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26137B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26137B#FFFFFF#000000##FFFFFF
##26137B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26137b;
/* rgb */ color: rgb(38, 19, 123);
/* oklch */ color: oklch(30.3% 0.160 279.2);
Tailwind
colors: {
  custom: {
    50: '#6e55a2',
    500: '#26137b',
    950: '#000000',
  },
}
SCSS
$custom: #26137b;
$custom-light: #6e55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26137b",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 250.962,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3027,
    "c": 0.16003,
    "h": 279.2
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#26137B
secondary
#9BB139
accent
#F038CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26137B

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

Preview Lab → · Contrast checker → · Palette generator →

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