#260F42#260F42

#260F42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.092 H 300.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#260F42
RGBrgb(38, 15, 66)
HSLhsl(267, 63%, 16%)
HSVhsv(267, 77%, 26%)
CMYKcmyk(42.4%, 77.3%, 0%, 74.1%)
CIE-LABlab(10.16, 24.20, -27.79)
CIE-LCHlch(10.16, 36.85, 311.04°)
OKLaboklab(23.62% 0.0458 -0.0792)
OKLCHoklch(23.62% 0.092 300.1)
XYZxyz(1.9533, 1.1470, 5.2717)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F42 #2B420F
analogous
#0F1142 #260F42 #3F0F42
triadic
#260F42 #42260F #0F4226
tetradic
#260F42 #420F11 #2B420F #0F423F
square
#260F42 #420F11 #2B420F #0F423F
split-complementary
#260F42 #423F0F #11420F
monochromatic
#0E0619 #0E0619 #260F42 #431A74 #5F26A6

Accessibility & contrast

On white

17.08
#260F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#260F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F42
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F42#FFFFFF#000000##FFFFFF
##260F421.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#201B27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260f42;
/* rgb */ color: rgb(38, 15, 66);
/* oklch */ color: oklch(23.6% 0.092 300.1);
Tailwind
colors: {
  custom: {
    50: '#634f77',
    500: '#260f42',
    950: '#000000',
  },
}
SCSS
$custom: #260f42;
$custom-light: #634f77;
$custom-dark: #000000;
JSON
{
  "hex": "#260f42",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 267.059,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23617,
    "c": 0.09151,
    "h": 300.1
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#260F42
secondary
#5A7C30
accent
#E6429C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #260F42

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

Preview Lab → · Contrast checker → · Palette generator →

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