#26137E#26137E

#26137E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.164 H 278.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#26137E
RGBrgb(38, 19, 126)
HSLhsl(251, 74%, 28%)
HSVhsv(251, 85%, 49%)
CMYKcmyk(69.8%, 84.9%, 0%, 50.6%)
CIE-LABlab(17.38, 40.88, -56.02)
CIE-LCHlch(17.38, 69.35, 306.12°)
OKLaboklab(30.62% 0.0247 -0.1618)
OKLCHoklch(30.62% 0.164 278.7)
XYZxyz(4.7969, 2.3838, 19.9419)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26137E #6B7E13
analogous
#13357E #26137E #5B137E
triadic
#26137E #7E2613 #137E26
tetradic
#26137E #7E1335 #6B7E13 #137E5B
square
#26137E #7E1335 #6B7E13 #137E5B
split-complementary
#26137E #7E5B13 #357E13
monochromatic
#08041B #160B49 #26137E #361BB3 #4C2CDF

Accessibility & contrast

On white

14.22
#26137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#26137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26137E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26137E#FFFFFF#000000##FFFFFF
##26137E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26137e;
/* rgb */ color: rgb(38, 19, 126);
/* oklch */ color: oklch(30.6% 0.164 278.7);
Tailwind
colors: {
  custom: {
    50: '#6f55a5',
    500: '#26137e',
    950: '#000000',
  },
}
SCSS
$custom: #26137e;
$custom-light: #6f55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26137e",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 250.654,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30624,
    "c": 0.16367,
    "h": 278.7
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#26137E
secondary
#9EB439
accent
#F037D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26137E

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

Preview Lab → · Contrast checker → · Palette generator →

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