#260340#260340

#260340 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.8% C 0.106 H 304.9°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#260340
RGBrgb(38, 3, 64)
HSLhsl(274, 91%, 13%)
HSVhsv(274, 95%, 25%)
CMYKcmyk(40.6%, 95.3%, 0%, 74.9%)
CIE-LABlab(7.65, 30.25, -30.45)
CIE-LCHlch(7.65, 42.92, 314.81°)
OKLaboklab(21.79% 0.0605 -0.0869)
OKLCHoklch(21.79% 0.106 304.9)
XYZxyz(1.7571, 0.8474, 4.9205)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260340 #1D4003
analogous
#070340 #260340 #40033B
triadic
#260340 #402603 #034026
tetradic
#260340 #400703 #1D4003 #033B40
square
#260340 #400703 #1D4003 #033B40
split-complementary
#260340 #3B4003 #034007
monochromatic
#11011D #11011D #260340 #49067A #6B08B5

Accessibility & contrast

On white

17.96
#260340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#260340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260340
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260340#FFFFFF#000000##FFFFFF
##2603401.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#211422
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #260340;
/* rgb */ color: rgb(38, 3, 64);
/* oklch */ color: oklch(21.8% 0.106 304.9);
Tailwind
colors: {
  custom: {
    50: '#644875',
    500: '#260340',
    950: '#000000',
  },
}
SCSS
$custom: #260340;
$custom-light: #644875;
$custom-dark: #000000;
JSON
{
  "hex": "#260340",
  "rgb": {
    "r": 38,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 274.426,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21794,
    "c": 0.10594,
    "h": 304.9
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#260340
secondary
#48821D
accent
#FF2984
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #260340

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

Preview Lab → · Contrast checker → · Palette generator →

#260340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva