#230F2E#230F2E

#230F2E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.063 H 312.0°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#230F2E
RGBrgb(35, 15, 46)
HSLhsl(279, 51%, 12%)
HSVhsv(279, 67%, 18%)
CMYKcmyk(23.9%, 67.4%, 0%, 82%)
CIE-LABlab(8.10, 17.44, -16.67)
CIE-LCHlch(8.10, 24.13, 316.28°)
OKLaboklab(21.51% 0.0421 -0.0467)
OKLCHoklch(21.51% 0.063 312)
XYZxyz(1.3570, 0.8963, 2.6857)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F2E #1A2E0F
analogous
#140F2E #230F2E #2E0F2A
triadic
#230F2E #2E230F #0F2E23
tetradic
#230F2E #2E140F #1A2E0F #0F2A2E
square
#230F2E #2E140F #1A2E0F #0F2A2E
split-complementary
#230F2E #2A2E0F #0F2E14
monochromatic
#120817 #120817 #230F2E #461E5C #692D8A

Accessibility & contrast

On white

17.81
#230F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F2E
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F2E#FFFFFF#000000##FFFFFF
##230F2E1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#22141C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230f2e;
/* rgb */ color: rgb(35, 15, 46);
/* oklch */ color: oklch(21.5% 0.063 312.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e67',
    500: '#230f2e',
    950: '#000000',
  },
}
SCSS
$custom: #230f2e;
$custom-light: #5f4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#230f2e",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 278.71,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21508,
    "c": 0.0629,
    "h": 312
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#230F2E
secondary
#456831
accent
#DA4D7F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #230F2E

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

Preview Lab → · Contrast checker → · Palette generator →

#230F2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva