#230F3C#230F3C

#230F3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.083 H 300.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#230F3C
RGBrgb(35, 15, 60)
HSLhsl(267, 60%, 15%)
HSVhsv(267, 75%, 24%)
CMYKcmyk(41.7%, 75%, 0%, 76.5%)
CIE-LABlab(9.20, 21.61, -25.10)
CIE-LCHlch(9.20, 33.12, 310.73°)
OKLaboklab(22.66% 0.0417 -0.0714)
OKLCHoklch(22.66% 0.083 300.3)
XYZxyz(1.6794, 1.0252, 4.3835)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F3C #283C0F
analogous
#0F113C #230F3C #3A0F3C
triadic
#230F3C #3C230F #0F3C23
tetradic
#230F3C #3C0F11 #283C0F #0F3C3A
square
#230F3C #3C0F11 #283C0F #0F3C3A
split-complementary
#230F3C #3C3A0F #113C0F
monochromatic
#0E0618 #0E0618 #230F3C #401B6D #5C279E

Accessibility & contrast

On white

17.43
#230F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F3C
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F3C#FFFFFF#000000##FFFFFF
##230F3C1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#001A3B
Tritanopia (blue-blind)
#1E1923
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230f3c;
/* rgb */ color: rgb(35, 15, 60);
/* oklch */ color: oklch(22.7% 0.083 300.3);
Tailwind
colors: {
  custom: {
    50: '#604e72',
    500: '#230f3c',
    950: '#000000',
  },
}
SCSS
$custom: #230f3c;
$custom-light: #604e72;
$custom-dark: #000000;
JSON
{
  "hex": "#230f3c",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 266.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22664,
    "c": 0.0827,
    "h": 300.3
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#230F3C
secondary
#577630
accent
#E3459D
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #230F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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