#270E35#270E35

#270E35 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.076 H 311.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#270E35
RGBrgb(39, 14, 53)
HSLhsl(278, 58%, 13%)
HSVhsv(278, 74%, 21%)
CMYKcmyk(26.4%, 73.6%, 0%, 79.2%)
CIE-LABlab(9.01, 21.29, -20.31)
CIE-LCHlch(9.01, 29.43, 316.35°)
OKLaboklab(22.48% 0.0503 -0.0572)
OKLCHoklch(22.48% 0.076 311.3)
XYZxyz(1.6362, 1.0025, 3.4748)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E35 #1C350E
analogous
#130E35 #270E35 #350E2F
triadic
#270E35 #35270E #0E3527
tetradic
#270E35 #35130E #1C350E #0E2F35
square
#270E35 #35130E #1C350E #0E2F35
split-complementary
#270E35 #2F350E #0E3513
monochromatic
#120618 #120618 #270E35 #4B1B65 #6E2896

Accessibility & contrast

On white

17.49
#270E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E35
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E35#FFFFFF#000000##FFFFFF
##270E351.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#0A1A34
Tritanopia (blue-blind)
#25151F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270e35;
/* rgb */ color: rgb(39, 14, 53);
/* oklch */ color: oklch(22.5% 0.076 311.3);
Tailwind
colors: {
  custom: {
    50: '#634e6c',
    500: '#270e35',
    950: '#000000',
  },
}
SCSS
$custom: #270e35;
$custom-light: #634e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#270e35",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 53
  },
  "hsl": {
    "h": 278.462,
    "s": 58.209,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22481,
    "c": 0.07615,
    "h": 311.3
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#270E35
secondary
#46702F
accent
#E1467E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270E35

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

Preview Lab → · Contrast checker → · Palette generator →

#270E35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva