#27103B#27103B

#27103B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.081 H 305.6°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#27103B
RGBrgb(39, 16, 59)
HSLhsl(272, 57%, 15%)
HSVhsv(272, 73%, 23%)
CMYKcmyk(33.9%, 72.9%, 0%, 76.9%)
CIE-LABlab(9.94, 21.76, -23.16)
CIE-LCHlch(9.94, 31.78, 313.21°)
OKLaboklab(23.3% 0.047 -0.0656)
OKLCHoklch(23.3% 0.081 305.6)
XYZxyz(1.8112, 1.1177, 4.2571)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27103B #243B10
analogous
#12103B #27103B #3B103A
triadic
#27103B #3B2710 #103B27
tetradic
#27103B #3B1210 #243B10 #103A3B
square
#27103B #3B1210 #243B10 #103A3B
split-complementary
#27103B #3A3B10 #103B12
monochromatic
#100718 #100718 #27103B #471D6B #672A9B

Accessibility & contrast

On white

17.16
#27103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#27103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27103B
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27103B#FFFFFF#000000##FFFFFF
##27103B1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#241923
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #27103b;
/* rgb */ color: rgb(39, 16, 59);
/* oklch */ color: oklch(23.3% 0.081 305.6);
Tailwind
colors: {
  custom: {
    50: '#634f71',
    500: '#27103b',
    950: '#000000',
  },
}
SCSS
$custom: #27103b;
$custom-light: #634f71;
$custom-dark: #000000;
JSON
{
  "hex": "#27103b",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 272.093,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.233,
    "c": 0.08067,
    "h": 305.6
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#27103B
secondary
#517532
accent
#E1478F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #27103B

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

Preview Lab → · Contrast checker → · Palette generator →

#27103B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva