#260C3D#260C3D

#260C3D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.089 H 304.4°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#260C3D
RGBrgb(38, 12, 61)
HSLhsl(272, 67%, 14%)
HSVhsv(272, 80%, 24%)
CMYKcmyk(37.7%, 80.3%, 0%, 76.1%)
CIE-LABlab(9.09, 24.46, -25.97)
CIE-LCHlch(9.09, 35.67, 313.28°)
OKLaboklab(22.71% 0.0505 -0.0738)
OKLCHoklch(22.71% 0.089 304.4)
XYZxyz(1.7729, 1.0119, 4.5159)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C3D #233D0C
analogous
#0E0C3D #260C3D #3D0C3C
triadic
#260C3D #3D260C #0C3D26
tetradic
#260C3D #3D0E0C #233D0C #0C3C3D
square
#260C3D #3D0E0C #233D0C #0C3C3D
split-complementary
#260C3D #3C3D0C #0C3D0E
monochromatic
#10051A #10051A #260C3D #461670 #6620A3

Accessibility & contrast

On white

17.47
#260C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C3D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C3D#FFFFFF#000000##FFFFFF
##260C3D1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#221723
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260c3d;
/* rgb */ color: rgb(38, 12, 61);
/* oklch */ color: oklch(22.7% 0.089 304.4);
Tailwind
colors: {
  custom: {
    50: '#634d73',
    500: '#260c3d',
    950: '#000000',
  },
}
SCSS
$custom: #260c3d;
$custom-light: #634d73;
$custom-dark: #000000;
JSON
{
  "hex": "#260c3d",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 271.837,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22713,
    "c": 0.08947,
    "h": 304.4
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#260C3D
secondary
#50792C
accent
#EA3E8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #260C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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