#26232F#26232F

#26232F is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.5% C 0.022 H 296.3°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#26232F
RGBrgb(38, 35, 47)
HSLhsl(255, 15%, 16%)
HSVhsv(255, 26%, 18%)
CMYKcmyk(19.1%, 25.5%, 0%, 81.6%)
CIE-LABlab(14.51, 4.51, -7.39)
CIE-LCHlch(14.51, 8.66, 301.38°)
OKLaboklab(26.47% 0.01 -0.0202)
OKLCHoklch(26.47% 0.022 296.3)
XYZxyz(1.9133, 1.8194, 2.9391)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26232F #2C2F23
analogous
#23262F #26232F #2C232F
triadic
#26232F #2F2623 #232F26
tetradic
#26232F #2F2326 #2C2F23 #232F2C
square
#26232F #2F2326 #2C2F23 #232F2C
split-complementary
#26232F #2F2C23 #262F23
monochromatic
#0E0D12 #0E0D12 #26232F #423D52 #5F5775

Accessibility & contrast

On white

15.40
#26232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26232F
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26232F#FFFFFF#000000##FFFFFF
##26232F1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#21252F
Tritanopia (blue-blind)
#242527
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #26232f;
/* rgb */ color: rgb(38, 35, 47);
/* oklch */ color: oklch(26.5% 0.022 296.3);
Tailwind
colors: {
  custom: {
    50: '#605d67',
    500: '#26232f',
    950: '#000000',
  },
}
SCSS
$custom: #26232f;
$custom-light: #605d67;
$custom-dark: #000000;
JSON
{
  "hex": "#26232f",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 255,
    "s": 14.634,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26472,
    "c": 0.02249,
    "h": 296.3
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#26232F
secondary
#5B604E
accent
#B770A6
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #26232F

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

Preview Lab → · Contrast checker → · Palette generator →

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