#230C35#230C35

#230C35 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.078 H 306.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#230C35
RGBrgb(35, 12, 53)
HSLhsl(274, 63%, 13%)
HSVhsv(274, 77%, 21%)
CMYKcmyk(34%, 77.4%, 0%, 79.2%)
CIE-LABlab(7.92, 21.37, -22.10)
CIE-LCHlch(7.92, 30.74, 314.04°)
OKLaboklab(21.56% 0.0467 -0.0626)
OKLCHoklch(21.56% 0.078 306.7)
XYZxyz(1.4671, 0.8773, 3.4595)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C35 #1E350C
analogous
#0F0C35 #230C35 #350C32
triadic
#230C35 #35230C #0C3523
tetradic
#230C35 #350F0C #1E350C #0C3235
square
#230C35 #350F0C #1E350C #0C3235
split-complementary
#230C35 #32350C #0C350F
monochromatic
#100619 #100619 #230C35 #441767 #652399

Accessibility & contrast

On white

17.87
#230C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C35
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C35#FFFFFF#000000##FFFFFF
##230C351.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#041834
Tritanopia (blue-blind)
#20151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230c35;
/* rgb */ color: rgb(35, 12, 53);
/* oklch */ color: oklch(21.6% 0.078 306.7);
Tailwind
colors: {
  custom: {
    50: '#604c6c',
    500: '#230c35',
    950: '#000000',
  },
}
SCSS
$custom: #230c35;
$custom-light: #604c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#230c35",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 273.659,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21557,
    "c": 0.07808,
    "h": 306.7
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#230C35
secondary
#4A712C
accent
#E6428A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230C35

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

Preview Lab → · Contrast checker → · Palette generator →

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