#270F43#270F43

#270F43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.093 H 300.6°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#270F43
RGBrgb(39, 15, 67)
HSLhsl(268, 63%, 16%)
HSVhsv(268, 78%, 26%)
CMYKcmyk(41.8%, 77.6%, 0%, 73.7%)
CIE-LABlab(10.40, 24.73, -28.11)
CIE-LCHlch(10.40, 37.44, 311.35°)
OKLaboklab(23.85% 0.0473 -0.0801)
OKLCHoklch(23.85% 0.093 300.6)
XYZxyz(2.0204, 1.1782, 5.4301)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F43 #2B430F
analogous
#0F1143 #270F43 #410F43
triadic
#270F43 #43270F #0F4327
tetradic
#270F43 #430F11 #2B430F #0F4341
square
#270F43 #430F11 #2B430F #0F4341
split-complementary
#270F43 #43410F #11430F
monochromatic
#0F0619 #0F0619 #270F43 #441A75 #6125A7

Accessibility & contrast

On white

17.00
#270F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#270F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F43
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F43#FFFFFF#000000##FFFFFF
##270F431.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#211B27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #270f43;
/* rgb */ color: rgb(39, 15, 67);
/* oklch */ color: oklch(23.8% 0.093 300.6);
Tailwind
colors: {
  custom: {
    50: '#644f78',
    500: '#270f43',
    950: '#000000',
  },
}
SCSS
$custom: #270f43;
$custom-light: #644f78;
$custom-dark: #000000;
JSON
{
  "hex": "#270f43",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 267.692,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23846,
    "c": 0.09303,
    "h": 300.6
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#270F43
secondary
#5A7D30
accent
#E6419A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #270F43

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

Preview Lab → · Contrast checker → · Palette generator →

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