#26137F#26137F

#26137F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 278.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#26137F
RGBrgb(38, 19, 127)
HSLhsl(251, 74%, 29%)
HSVhsv(251, 85%, 50%)
CMYKcmyk(70.1%, 85%, 0%, 50.2%)
CIE-LABlab(17.51, 41.18, -56.46)
CIE-LCHlch(17.51, 69.88, 306.11°)
OKLaboklab(30.74% 0.0244 -0.1631)
OKLCHoklch(30.74% 0.165 278.5)
XYZxyz(4.8617, 2.4097, 20.2835)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26137F #6C7F13
analogous
#13367F #26137F #5C137F
triadic
#26137F #7F2613 #137F26
tetradic
#26137F #7F1336 #6C7F13 #137F5C
square
#26137F #7F1336 #6C7F13 #137F5C
split-complementary
#26137F #7F5C13 #367F13
monochromatic
#08041B #160B4A #26137F #361BB4 #4C2DE0

Accessibility & contrast

On white

14.17
#26137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26137F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26137F#FFFFFF#000000##FFFFFF
##26137F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26137f;
/* rgb */ color: rgb(38, 19, 127);
/* oklch */ color: oklch(30.7% 0.165 278.5);
Tailwind
colors: {
  custom: {
    50: '#6f55a5',
    500: '#26137f',
    950: '#000000',
  },
}
SCSS
$custom: #26137f;
$custom-light: #6f55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26137f",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 250.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30742,
    "c": 0.16487,
    "h": 278.5
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#26137F
secondary
#9FB439
accent
#F137D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #26137F

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

Preview Lab → · Contrast checker → · Palette generator →

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