#270D3A#270D3A

#270D3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.084 H 307.5°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#270D3A
RGBrgb(39, 13, 58)
HSLhsl(275, 63%, 14%)
HSVhsv(275, 78%, 23%)
CMYKcmyk(32.8%, 77.6%, 0%, 77.3%)
CIE-LABlab(9.20, 23.28, -23.64)
CIE-LCHlch(9.20, 33.18, 314.56°)
OKLaboklab(22.74% 0.0513 -0.0669)
OKLCHoklch(22.74% 0.084 307.5)
XYZxyz(1.7442, 1.0247, 4.1081)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D3A #203A0D
analogous
#110D3A #270D3A #3A0D37
triadic
#270D3A #3A270D #0D3A27
tetradic
#270D3A #3A110D #203A0D #0D373A
square
#270D3A #3A110D #203A0D #0D373A
split-complementary
#270D3A #373A0D #0D3A11
monochromatic
#110619 #110619 #270D3A #49186C #6A239E

Accessibility & contrast

On white

17.43
#270D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D3A
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D3A#FFFFFF#000000##FFFFFF
##270D3A1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#241722
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270d3a;
/* rgb */ color: rgb(39, 13, 58);
/* oklch */ color: oklch(22.7% 0.084 307.5);
Tailwind
colors: {
  custom: {
    50: '#634e70',
    500: '#270d3a',
    950: '#000000',
  },
}
SCSS
$custom: #270d3a;
$custom-light: #634e70;
$custom-dark: #000000;
JSON
{
  "hex": "#270d3a",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 274.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2274,
    "c": 0.08437,
    "h": 307.5
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#270D3A
secondary
#4C762D
accent
#E64187
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #270D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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