#262136#262136

#262136 is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.4% C 0.039 H 294.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#262136
RGBrgb(38, 33, 54)
HSLhsl(254, 24%, 17%)
HSVhsv(254, 39%, 21%)
CMYKcmyk(29.6%, 38.9%, 0%, 78.8%)
CIE-LABlab(14.21, 8.03, -12.84)
CIE-LCHlch(14.21, 15.15, 302.04°)
OKLaboklab(26.35% 0.0162 -0.0356)
OKLCHoklch(26.35% 0.039 294.5)
XYZxyz(2.0089, 1.7661, 3.7244)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262136 #313621
analogous
#212736 #262136 #312136
triadic
#262136 #362621 #213626
tetradic
#262136 #362127 #313621 #213631
square
#262136 #362127 #313621 #213631
split-complementary
#262136 #363121 #273621
monochromatic
#0D0C13 #0D0C13 #262136 #41385C #5B4F82

Accessibility & contrast

On white

15.52
#262136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#262136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262136
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262136#FFFFFF#000000##FFFFFF
##2621361.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2437
Deuteranopia (green-blind)
#1C2435
Tritanopia (blue-blind)
#232529
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #262136;
/* rgb */ color: rgb(38, 33, 54);
/* oklch */ color: oklch(26.4% 0.039 294.5);
Tailwind
colors: {
  custom: {
    50: '#615c6d',
    500: '#262136',
    950: '#000000',
  },
}
SCSS
$custom: #262136;
$custom-light: #615c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#262136",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 254.286,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26354,
    "c": 0.03911,
    "h": 294.5
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#262136
secondary
#61694A
accent
#C167AB
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050407
muted
#79797A

Preview Lab

Preview with #262136

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

Preview Lab → · Contrast checker → · Palette generator →

#262136 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva