#26232E#26232E

#26232E is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.4% C 0.021 H 297.5°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#26232E
RGBrgb(38, 35, 46)
HSLhsl(256, 14%, 16%)
HSVhsv(256, 24%, 18%)
CMYKcmyk(17.4%, 23.9%, 0%, 82%)
CIE-LABlab(14.46, 4.23, -6.75)
CIE-LCHlch(14.46, 7.96, 302.08°)
OKLaboklab(26.42% 0.0095 -0.0184)
OKLCHoklch(26.42% 0.021 297.5)
XYZxyz(1.8934, 1.8114, 2.8341)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26232E #2B2E23
analogous
#23252E #26232E #2B232E
triadic
#26232E #2E2623 #232E26
tetradic
#26232E #2E2325 #2B2E23 #232E2B
square
#26232E #2E2325 #2B2E23 #232E2B
split-complementary
#26232E #2E2B23 #252E23
monochromatic
#0E0D11 #0E0D11 #26232E #433D51 #5F5874

Accessibility & contrast

On white

15.42
#26232E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#26232E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26232E
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26232E#FFFFFF#000000##FFFFFF
##26232E1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#252527
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #26232e;
/* rgb */ color: rgb(38, 35, 46);
/* oklch */ color: oklch(26.4% 0.021 297.5);
Tailwind
colors: {
  custom: {
    50: '#605d66',
    500: '#26232e',
    950: '#000000',
  },
}
SCSS
$custom: #26232e;
$custom-light: #605d66;
$custom-dark: #000000;
JSON
{
  "hex": "#26232e",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 46
  },
  "hsl": {
    "h": 256.364,
    "s": 13.58,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26423,
    "c": 0.02068,
    "h": 297.5
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#26232E
secondary
#5A5F4E
accent
#B671A4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #26232E

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

Preview Lab → · Contrast checker → · Palette generator →

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