#260F3F#260F3F

#260F3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.087 H 302.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#260F3F
RGBrgb(38, 15, 63)
HSLhsl(269, 62%, 15%)
HSVhsv(269, 76%, 25%)
CMYKcmyk(39.7%, 76.2%, 0%, 75.3%)
CIE-LABlab(9.90, 23.29, -26.09)
CIE-LCHlch(9.90, 34.97, 311.75°)
OKLaboklab(23.34% 0.0463 -0.0742)
OKLCHoklch(23.34% 0.087 302)
XYZxyz(1.8671, 1.1126, 4.8180)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F3F #283F0F
analogous
#0F103F #260F3F #3E0F3F
triadic
#260F3F #3F260F #0F3F26
tetradic
#260F3F #3F0F10 #283F0F #0F3F3E
square
#260F3F #3F0F10 #283F0F #0F3F3E
split-complementary
#260F3F #3F3E0F #103F0F
monochromatic
#0F0619 #0F0619 #260F3F #441B70 #6227A2

Accessibility & contrast

On white

17.18
#260F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260F3F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F3F#FFFFFF#000000##FFFFFF
##260F3F1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#211A25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260f3f;
/* rgb */ color: rgb(38, 15, 63);
/* oklch */ color: oklch(23.3% 0.087 302.0);
Tailwind
colors: {
  custom: {
    50: '#634f74',
    500: '#260f3f',
    950: '#000000',
  },
}
SCSS
$custom: #260f3f;
$custom-light: #634f74;
$custom-dark: #000000;
JSON
{
  "hex": "#260f3f",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 268.75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23344,
    "c": 0.08748,
    "h": 302
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#260F3F
secondary
#567930
accent
#E54397
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #260F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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