#261F33#261F33

#261F33 is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.7% C 0.038 H 299.8°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#261F33
RGBrgb(38, 31, 51)
HSLhsl(261, 24%, 16%)
HSVhsv(261, 39%, 20%)
CMYKcmyk(25.5%, 39.2%, 0%, 80%)
CIE-LABlab(13.42, 8.58, -11.93)
CIE-LCHlch(13.42, 14.69, 305.72°)
OKLaboklab(25.7% 0.0189 -0.033)
OKLCHoklch(25.7% 0.038 299.8)
XYZxyz(1.8867, 1.6311, 3.3468)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F33 #2C331F
analogous
#1F2233 #261F33 #301F33
triadic
#261F33 #33261F #1F3326
tetradic
#261F33 #331F22 #2C331F #1F3330
square
#261F33 #331F22 #2C331F #1F3330
split-complementary
#261F33 #33301F #22331F
monochromatic
#0E0C13 #0E0C13 #261F33 #423659 #5F4D7F

Accessibility & contrast

On white

15.83
#261F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#261F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F33
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F33#FFFFFF#000000##FFFFFF
##261F331.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2234
Deuteranopia (green-blind)
#1C2232
Tritanopia (blue-blind)
#242226
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #261f33;
/* rgb */ color: rgb(38, 31, 51);
/* oklch */ color: oklch(25.7% 0.038 299.8);
Tailwind
colors: {
  custom: {
    50: '#605a6a',
    500: '#261f33',
    950: '#000000',
  },
}
SCSS
$custom: #261f33;
$custom-light: #605a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#261f33",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 261,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25696,
    "c": 0.03801,
    "h": 299.8
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#261F33
secondary
#5B6648
accent
#C167A1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #261F33

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

Preview Lab → · Contrast checker → · Palette generator →

#261F33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva