#230D2F#230D2F

#230D2F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.2% C 0.068 H 311.8°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#230D2F
RGBrgb(35, 13, 47)
HSLhsl(279, 57%, 12%)
HSVhsv(279, 72%, 18%)
CMYKcmyk(25.5%, 72.3%, 0%, 81.6%)
CIE-LABlab(7.68, 19.02, -18.07)
CIE-LCHlch(7.68, 26.23, 316.45°)
OKLaboklab(21.23% 0.0455 -0.0508)
OKLCHoklch(21.23% 0.068 311.8)
XYZxyz(1.3501, 0.8504, 2.7818)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D2F #192F0D
analogous
#120D2F #230D2F #2F0D2A
triadic
#230D2F #2F230D #0D2F23
tetradic
#230D2F #2F120D #192F0D #0D2A2F
square
#230D2F #2F120D #192F0D #0D2A2F
split-complementary
#230D2F #2A2F0D #0D2F12
monochromatic
#120718 #120718 #230D2F #471A5F #6A288F

Accessibility & contrast

On white

17.95
#230D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D2F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D2F#FFFFFF#000000##FFFFFF
##230D2F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#0A172E
Tritanopia (blue-blind)
#22131C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230d2f;
/* rgb */ color: rgb(35, 13, 47);
/* oklch */ color: oklch(21.2% 0.068 311.8);
Tailwind
colors: {
  custom: {
    50: '#5f4d68',
    500: '#230d2f',
    950: '#000000',
  },
}
SCSS
$custom: #230d2f;
$custom-light: #5f4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#230d2f",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 278.824,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21226,
    "c": 0.06818,
    "h": 311.8
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#230D2F
secondary
#436A2E
accent
#E0487E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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