#260C45#260C45

#260C45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.100 H 299.3°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#260C45
RGBrgb(38, 12, 69)
HSLhsl(267, 70%, 16%)
HSVhsv(267, 83%, 27%)
CMYKcmyk(44.9%, 82.6%, 0%, 72.9%)
CIE-LABlab(9.83, 26.79, -30.43)
CIE-LCHlch(9.83, 40.55, 311.36°)
OKLaboklab(23.47% 0.0487 -0.087)
OKLCHoklch(23.47% 0.1 299.3)
XYZxyz(2.0047, 1.1047, 5.7367)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C45 #2B450C
analogous
#0C0F45 #260C45 #420C45
triadic
#260C45 #45260C #0C4526
tetradic
#260C45 #450C0F #2B450C #0C4542
square
#260C45 #450C0F #2B450C #0C4542
split-complementary
#260C45 #45420C #0F450C
monochromatic
#0E051A #0E051A #260C45 #431579 #5F1EAD

Accessibility & contrast

On white

17.20
#260C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260C45
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C45#FFFFFF#000000##FFFFFF
##260C451.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#1F1B27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260c45;
/* rgb */ color: rgb(38, 12, 69);
/* oklch */ color: oklch(23.5% 0.100 299.3);
Tailwind
colors: {
  custom: {
    50: '#644d79',
    500: '#260c45',
    950: '#000000',
  },
}
SCSS
$custom: #260c45;
$custom-light: #644d79;
$custom-dark: #000000;
JSON
{
  "hex": "#260c45",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 267.368,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23473,
    "c": 0.09968,
    "h": 299.3
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#260C45
secondary
#5A812C
accent
#ED3B9C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260C45

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

Preview Lab → · Contrast checker → · Palette generator →

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