#26137D#26137D

#26137D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 278.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#26137D
RGBrgb(38, 19, 125)
HSLhsl(251, 74%, 28%)
HSVhsv(251, 85%, 49%)
CMYKcmyk(69.6%, 84.8%, 0%, 51%)
CIE-LABlab(17.26, 40.57, -55.58)
CIE-LCHlch(17.26, 68.81, 306.12°)
OKLaboklab(30.51% 0.0251 -0.1605)
OKLCHoklch(30.51% 0.162 278.9)
XYZxyz(4.7327, 2.3581, 19.6038)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26137D #6A7D13
analogous
#13357D #26137D #5B137D
triadic
#26137D #7D2613 #137D26
tetradic
#26137D #7D1335 #6A7D13 #137D5B
square
#26137D #7D1335 #6A7D13 #137D5B
split-complementary
#26137D #7D5B13 #357D13
monochromatic
#08041B #160B48 #26137D #361BB2 #4C2CDF

Accessibility & contrast

On white

14.27
#26137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26137D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26137D#FFFFFF#000000##FFFFFF
##26137D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26137d;
/* rgb */ color: rgb(38, 19, 125);
/* oklch */ color: oklch(30.5% 0.162 278.9);
Tailwind
colors: {
  custom: {
    50: '#6f55a4',
    500: '#26137d',
    950: '#000000',
  },
}
SCSS
$custom: #26137d;
$custom-light: #6f55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26137d",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 250.755,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.16245,
    "h": 278.9
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26137D

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

Preview Lab → · Contrast checker → · Palette generator →

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