#230C3C#230C3C

#230C3C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.087 H 301.5°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#230C3C
RGBrgb(35, 12, 60)
HSLhsl(269, 67%, 14%)
HSVhsv(269, 80%, 24%)
CMYKcmyk(41.7%, 80%, 0%, 76.5%)
CIE-LABlab(8.54, 23.44, -26.17)
CIE-LCHlch(8.54, 35.13, 311.85°)
OKLaboklab(22.19% 0.0457 -0.0745)
OKLCHoklch(22.19% 0.087 301.5)
XYZxyz(1.6400, 0.9465, 4.3704)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C3C #253C0C
analogous
#0C0D3C #230C3C #3B0C3C
triadic
#230C3C #3C230C #0C3C23
tetradic
#230C3C #3C0C0D #253C0C #0C3C3B
square
#230C3C #3C0C0D #253C0C #0C3C3B
split-complementary
#230C3C #3C3B0C #0D3C0C
monochromatic
#0F051A #0F051A #230C3C #41166F #5F20A2

Accessibility & contrast

On white

17.66
#230C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C3C
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C3C#FFFFFF#000000##FFFFFF
##230C3C1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#1E1722
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230c3c;
/* rgb */ color: rgb(35, 12, 60);
/* oklch */ color: oklch(22.2% 0.087 301.5);
Tailwind
colors: {
  custom: {
    50: '#614d72',
    500: '#230c3c',
    950: '#000000',
  },
}
SCSS
$custom: #230c3c;
$custom-light: #614d72;
$custom-dark: #000000;
JSON
{
  "hex": "#230c3c",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 268.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2219,
    "c": 0.08742,
    "h": 301.5
  },
  "luminance": 0.00947
}

Semantic roles & 50–950 ramp

primary
#230C3C
secondary
#53782C
accent
#EA3E97
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #230C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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