#230F3D#230F3D

#230F3D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.084 H 299.6°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#230F3D
RGBrgb(35, 15, 61)
HSLhsl(266, 61%, 15%)
HSVhsv(266, 75%, 24%)
CMYKcmyk(42.6%, 75.4%, 0%, 76.1%)
CIE-LABlab(9.29, 21.92, -25.67)
CIE-LCHlch(9.29, 33.76, 310.49°)
OKLaboklab(22.76% 0.0416 -0.0731)
OKLCHoklch(22.76% 0.084 299.6)
XYZxyz(1.7061, 1.0359, 4.5240)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F3D #293D0F
analogous
#0F123D #230F3D #3A0F3D
triadic
#230F3D #3D230F #0F3D23
tetradic
#230F3D #3D0F12 #293D0F #0F3D3A
square
#230F3D #3D0F12 #293D0F #0F3D3A
split-complementary
#230F3D #3D3A0F #123D0F
monochromatic
#0E0619 #0E0619 #230F3D #3F1B6E #5B279F

Accessibility & contrast

On white

17.40
#230F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F3D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F3D#FFFFFF#000000##FFFFFF
##230F3D1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#1D1924
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230f3d;
/* rgb */ color: rgb(35, 15, 61);
/* oklch */ color: oklch(22.8% 0.084 299.6);
Tailwind
colors: {
  custom: {
    50: '#614e73',
    500: '#230f3d',
    950: '#000000',
  },
}
SCSS
$custom: #230f3d;
$custom-light: #614e73;
$custom-dark: #000000;
JSON
{
  "hex": "#230f3d",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 266.087,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22755,
    "c": 0.0841,
    "h": 299.6
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#230F3D
secondary
#597730
accent
#E4449E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #230F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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