#230C3D#230C3D

#230C3D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.089 H 300.8°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#230C3D
RGBrgb(35, 12, 61)
HSLhsl(268, 67%, 14%)
HSVhsv(268, 80%, 24%)
CMYKcmyk(42.6%, 80.3%, 0%, 76.1%)
CIE-LABlab(8.63, 23.74, -26.74)
CIE-LCHlch(8.63, 35.76, 311.60°)
OKLaboklab(22.28% 0.0455 -0.0762)
OKLCHoklch(22.28% 0.089 300.8)
XYZxyz(1.6667, 0.9572, 4.5109)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C3D #263D0C
analogous
#0C0E3D #230C3D #3C0C3D
triadic
#230C3D #3D230C #0C3D23
tetradic
#230C3D #3D0C0E #263D0C #0C3D3C
square
#230C3D #3D0C0E #263D0C #0C3D3C
split-complementary
#230C3D #3D3C0C #0E3D0C
monochromatic
#0F051A #0F051A #230C3D #401670 #5E20A3

Accessibility & contrast

On white

17.63
#230C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C3D
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C3D#FFFFFF#000000##FFFFFF
##230C3D1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#1D1823
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230c3d;
/* rgb */ color: rgb(35, 12, 61);
/* oklch */ color: oklch(22.3% 0.089 300.8);
Tailwind
colors: {
  custom: {
    50: '#614d73',
    500: '#230c3d',
    950: '#000000',
  },
}
SCSS
$custom: #230c3d;
$custom-light: #614d73;
$custom-dark: #000000;
JSON
{
  "hex": "#230c3d",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 268.163,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22284,
    "c": 0.08875,
    "h": 300.8
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#230C3D
secondary
#55792C
accent
#EA3E99
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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