#260F40#260F40

#260F40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.089 H 301.3°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#260F40
RGBrgb(38, 15, 64)
HSLhsl(268, 62%, 15%)
HSVhsv(268, 77%, 25%)
CMYKcmyk(40.6%, 76.6%, 0%, 74.9%)
CIE-LABlab(9.98, 23.59, -26.66)
CIE-LCHlch(9.98, 35.60, 311.50°)
OKLaboklab(23.44% 0.0462 -0.0759)
OKLCHoklch(23.44% 0.089 301.3)
XYZxyz(1.8953, 1.1239, 4.9666)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F40 #29400F
analogous
#0F1140 #260F40 #3E0F40
triadic
#260F40 #40260F #0F4026
tetradic
#260F40 #400F11 #29400F #0F403E
square
#260F40 #400F11 #29400F #0F403E
split-complementary
#260F40 #403E0F #11400F
monochromatic
#0F0619 #0F0619 #260F40 #431B72 #6126A3

Accessibility & contrast

On white

17.15
#260F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F40
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F40#FFFFFF#000000##FFFFFF
##260F401.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#201A26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260f40;
/* rgb */ color: rgb(38, 15, 64);
/* oklch */ color: oklch(23.4% 0.089 301.3);
Tailwind
colors: {
  custom: {
    50: '#634f75',
    500: '#260f40',
    950: '#000000',
  },
}
SCSS
$custom: #260f40;
$custom-light: #634f75;
$custom-dark: #000000;
JSON
{
  "hex": "#260f40",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 268.163,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23435,
    "c": 0.08882,
    "h": 301.3
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#260F40
secondary
#587A30
accent
#E54399
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #260F40

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

Preview Lab → · Contrast checker → · Palette generator →

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