#26137C#26137C

#26137C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.161 H 279.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#26137C
RGBrgb(38, 19, 124)
HSLhsl(251, 73%, 28%)
HSVhsv(251, 85%, 49%)
CMYKcmyk(69.4%, 84.7%, 0%, 51.4%)
CIE-LABlab(17.14, 40.26, -55.14)
CIE-LCHlch(17.14, 68.27, 306.13°)
OKLaboklab(30.39% 0.0254 -0.1592)
OKLCHoklch(30.39% 0.161 279.1)
XYZxyz(4.6691, 2.3327, 19.2691)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26137C #697C13
analogous
#13347C #26137C #5A137C
triadic
#26137C #7C2613 #137C26
tetradic
#26137C #7C1334 #697C13 #137C5A
square
#26137C #7C1334 #697C13 #137C5A
split-complementary
#26137C #7C5A13 #347C13
monochromatic
#08041B #160B47 #26137C #361BB1 #4B2BDF

Accessibility & contrast

On white

14.32
#26137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#26137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26137C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26137C#FFFFFF#000000##FFFFFF
##26137C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #26137c;
/* rgb */ color: rgb(38, 19, 124);
/* oklch */ color: oklch(30.4% 0.161 279.1);
Tailwind
colors: {
  custom: {
    50: '#6f55a3',
    500: '#26137c',
    950: '#000000',
  },
}
SCSS
$custom: #26137c;
$custom-light: #6f55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26137c",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 250.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30388,
    "c": 0.16125,
    "h": 279.1
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#26137C
secondary
#9CB239
accent
#F038CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26137C

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

Preview Lab → · Contrast checker → · Palette generator →

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