#26165D#26165D

#26165D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.119 H 285.9°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#26165D
RGBrgb(38, 22, 93)
HSLhsl(254, 62%, 23%)
HSVhsv(254, 76%, 36%)
CMYKcmyk(59.1%, 76.3%, 0%, 63.5%)
CIE-LABlab(14.26, 28.63, -39.64)
CIE-LCHlch(14.26, 48.90, 305.84°)
OKLaboklab(27.35% 0.0325 -0.114)
OKLCHoklch(27.35% 0.119 285.9)
XYZxyz(3.0614, 1.7760, 10.5353)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26165D #4D5D16
analogous
#162A5D #26165D #49165D
triadic
#26165D #5D2616 #165D26
tetradic
#26165D #5D162A #4D5D16 #165D49
square
#26165D #5D162A #4D5D16 #165D49
split-complementary
#26165D #5D4916 #2A5D16
monochromatic
#0A0619 #120A2C #26165D #3A228E #4E2DC0

Accessibility & contrast

On white

15.50
#26165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#26165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26165D
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26165D#FFFFFF#000000##FFFFFF
##26165D1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#0D2938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #26165d;
/* rgb */ color: rgb(38, 22, 93);
/* oklch */ color: oklch(27.3% 0.119 285.9);
Tailwind
colors: {
  custom: {
    50: '#67558c',
    500: '#26165d',
    950: '#000000',
  },
}
SCSS
$custom: #26165d;
$custom-light: #67558c;
$custom-dark: #000000;
JSON
{
  "hex": "#26165d",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 253.521,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27345,
    "c": 0.11855,
    "h": 285.9
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#26165D
secondary
#80943B
accent
#E543C0
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #26165D

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

Preview Lab → · Contrast checker → · Palette generator →

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