#260C38#260C38

#260C38 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.083 H 308.2°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#260C38
RGBrgb(38, 12, 56)
HSLhsl(275, 65%, 13%)
HSVhsv(275, 79%, 22%)
CMYKcmyk(32.1%, 78.6%, 0%, 78%)
CIE-LABlab(8.66, 23.03, -23.07)
CIE-LCHlch(8.66, 32.60, 314.96°)
OKLaboklab(22.27% 0.0513 -0.0653)
OKLCHoklch(22.27% 0.083 308.2)
XYZxyz(1.6445, 0.9606, 3.8394)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C38 #1E380C
analogous
#100C38 #260C38 #380C34
triadic
#260C38 #38260C #0C3826
tetradic
#260C38 #38100C #1E380C #0C3438
square
#260C38 #38100C #1E380C #0C3438
split-complementary
#260C38 #34380C #0C3810
monochromatic
#110519 #110519 #260C38 #48176A #6A229D

Accessibility & contrast

On white

17.61
#260C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#260C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C38
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C38#FFFFFF#000000##FFFFFF
##260C381.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#041937
Tritanopia (blue-blind)
#231520
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #260c38;
/* rgb */ color: rgb(38, 12, 56);
/* oklch */ color: oklch(22.3% 0.083 308.2);
Tailwind
colors: {
  custom: {
    50: '#624d6f',
    500: '#260c38',
    950: '#000000',
  },
}
SCSS
$custom: #260c38;
$custom-light: #624d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#260c38",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 275.455,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22268,
    "c": 0.08305,
    "h": 308.2
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#260C38
secondary
#49742C
accent
#E84085
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #260C38

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

Preview Lab → · Contrast checker → · Palette generator →

#260C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva