#260F3C#260F3C

#260F3C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.083 H 304.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#260F3C
RGBrgb(38, 15, 60)
HSLhsl(271, 60%, 15%)
HSVhsv(271, 75%, 24%)
CMYKcmyk(36.7%, 75%, 0%, 76.5%)
CIE-LABlab(9.64, 22.40, -24.36)
CIE-LCHlch(9.64, 33.09, 312.59°)
OKLaboklab(23.08% 0.0467 -0.0691)
OKLCHoklch(23.08% 0.083 304)
XYZxyz(1.7856, 1.0800, 4.3885)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F3C #253C0F
analogous
#100F3C #260F3C #3C0F3C
triadic
#260F3C #3C260F #0F3C26
tetradic
#260F3C #3C100F #253C0F #0F3C3C
square
#260F3C #3C100F #253C0F #0F3C3C
split-complementary
#260F3C #3C3C0F #0F3C10
monochromatic
#100618 #100618 #260F3C #451B6D #64279E

Accessibility & contrast

On white

17.27
#260F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#260F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F3C
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F3C#FFFFFF#000000##FFFFFF
##260F3C1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#221923
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260f3c;
/* rgb */ color: rgb(38, 15, 60);
/* oklch */ color: oklch(23.1% 0.083 304.0);
Tailwind
colors: {
  custom: {
    50: '#634f72',
    500: '#260f3c',
    950: '#000000',
  },
}
SCSS
$custom: #260f3c;
$custom-light: #634f72;
$custom-dark: #000000;
JSON
{
  "hex": "#260f3c",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 270.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2308,
    "c": 0.08343,
    "h": 304
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#260F3C
secondary
#537630
accent
#E34592
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050208
muted
#7A787B

Preview Lab

Preview with #260F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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